/usr/include/graphite/GrStructs.h is in libgraphite-dev 1:2.3.1-0.2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | /*--------------------------------------------------------------------*//*: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: GrStructs.h
Responsibility: Sharon Correll
Last reviewed: Not yet.
Copyright (C) 1999 by SIL International. All rights reserved.
Description:
Cross-platform structure definitions.
----------------------------------------------------------------------------------------------*/
#ifdef _MSC_VER
#pragma once
#endif
#ifndef GRSTRUCTS_INCLUDED
#define GRSTRUCTS_INCLUDED
#include "GrPlatform.h"
namespace gr
{
//:End Ignore
typedef struct tagGrCharProps
{
unsigned long clrFore;
unsigned long clrBack;
int dympOffset;
int ws;
int ows;
byte fWsRtl;
int nDirDepth;
byte ssv;
byte ttvBold;
byte ttvItalic;
int dympHeight;
wchar_t szFaceName[ 32 ];
wchar_t szFontVar[ 64 ];
} GrCharProps;
// Used to pass feature information among the Graphite engine and the application.
typedef struct tagFeatureSetting
{
int id;
int value;
} FeatureSetting;
/*****
struct Point
{
float x;
float y;
Point()
{
x = y = 0;
}
Point(POINT & p)
{
x = (float)p.x;
y = (float)p.y;
}
};
struct Rect
{
float top;
float bottom;
float left;
float right;
Rect()
{
top = bottom = left = right = 0;
};
Rect(RECT & r)
{
top = (float)r.top;
bottom = (float)r.bottom;
left = (float)r.left;
right = (float)r.right;
};
};
****/
} // namespace gr
#endif // !STRUCTS_INCLUDED
|