diff options
Diffstat (limited to 'Build/source/libs/graphite-engine/include/graphite/IGrJustifier.h')
-rw-r--r-- | Build/source/libs/graphite-engine/include/graphite/IGrJustifier.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Build/source/libs/graphite-engine/include/graphite/IGrJustifier.h b/Build/source/libs/graphite-engine/include/graphite/IGrJustifier.h deleted file mode 100644 index a9ba6e51c07..00000000000 --- a/Build/source/libs/graphite-engine/include/graphite/IGrJustifier.h +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------------------------------------------*//*:Ignore this sentence. -Copyright (C) 2003 SIL International. All rights reserved. - -Distributable under the terms of either the Common Public License or the -GNU Lesser General Public License, as specified in the LICENSING.txt file. - -File: IGrJustifier.h -Responsibility: Sharon Correll -Last reviewed: Not yet. - -Description: - An interface for a justification agent that is used by the Graphite engine. --------------------------------------------------------------------------------*//*:End Ignore*/ -#ifdef _MSC_VER -#pragma once -#endif -#ifndef IGRJUSTIFIER_INCLUDED -#define IGRJUSTIFIER_INCLUDED - -#include "GrResult.h" - -namespace gr -{ - -class GraphiteProcess; - -/*---------------------------------------------------------------------------------------------- - Class: IGrJustifier - This class provides an interface for a justification agent for the Graphite engine. -----------------------------------------------------------------------------------------------*/ -class IGrJustifier -{ -public: - virtual ~IGrJustifier() {}; - virtual GrResult adjustGlyphWidths(GraphiteProcess * pgje, int iGlyphMin, int iGlyphLim, - float dxCurrWidth, float dxDesiredWidth) = 0; - - //virtual GrResult suggestShrinkAndBreak(GraphiteProcess * pfgjwe, - // int iGlyphMin, int iGlyphLim, float dxsWidth, LgLineBreak lbPref, LgLineBreak lbMax, - // float * pdxShrink, LgLineBreak * plbToTry) = 0; - - // Return a Graphite-compatible justifier that can be stored in a Graphite segment. - // TODO: remove - //virtual void JustifierObject(IGrJustifier ** ppgjus) = 0; - - // When a segment is being destroyed, delete this object, which is the wrapper for the - // text source inside of it. - // TODO: remove - //virtual void DeleteJustifierPtr() = 0; -}; - -} // namespace gr - -#if defined(GR_NO_NAMESPACE) -using namespace gr; -#endif - -#endif // !IGRJUSTIFIER_INCLUDED |