summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite/include/graphite/IGraphiteProcess.h
blob: ee84a94cdb1905c75b3762ab2ca5c0b5e8738e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*--------------------------------------------------------------------*//*:Ignore this sentence.
Copyright (C) 1999, 2001 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: GraphiteProcess.h
Responsibility: Sharon Correll
Last reviewed: Not yet.

Description:
	The interface that is needed for the Justifier object to call back to the Graphite engine.
----------------------------------------------------------------------------------------------*/
#ifdef _MSC_VER
#pragma once
#endif
#ifndef IGRAPHITEPROCESS_INCLUDED
#define IGRAPHITEPROCESS_INCLUDED

#include "GrResult.h"
//:End Ignore
namespace gr
{

/*----------------------------------------------------------------------------------------------

	Hungarian: fgje
----------------------------------------------------------------------------------------------*/
class GraphiteProcess
{
public:
	virtual GrResult GetGlyphAttribute(int iGlyph, int jgat, int nLevel, float * pValueRet) = 0;
	virtual GrResult GetGlyphAttribute(int iGlyph, int jgat, int nLevel, int * pValueRet) = 0;
	virtual GrResult SetGlyphAttribute(int iGlyph, int jgat, int nLevel, float value) = 0;
	virtual GrResult SetGlyphAttribute(int iGlyph, int jgat, int nLevel, int value) = 0;
};

} // namespace gr

#if defined(GR_NO_NAMESPACE)
using namespace gr;
#endif

#endif  // !IGR_JENGINE_INCLUDED