fontservices/textshaperplugin/test/letest/letest.h
changeset 0 1fb32624e06b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fontservices/textshaperplugin/test/letest/letest.h	Tue Feb 02 02:02:46 2010 +0200
@@ -0,0 +1,43 @@
+/*
+ *******************************************************************************
+ *
+ *   Copyright (C) 1999-2003, International Business Machines
+ *   Corporation and others.  All Rights Reserved.
+ *
+ *******************************************************************************
+ *   file name:  letest.h
+ *
+ *   created on: 11/06/2000
+ *   created by: Eric R. Mader
+ */
+
+#include "LETypes.h"
+
+#define ARRAY_LENGTH(array) (sizeof array / sizeof array[0])
+
+struct TestInput
+{
+    char      *fontName;
+    LEUnicode *text;
+    le_int32   textLength;
+    le_int32   scriptCode;
+    le_bool    rightToLeft;
+};
+
+extern le_int32 testCount;
+
+extern TestInput testInputs[];
+
+struct TestResult
+{
+    le_int32   glyphCount;
+    LEGlyphID *glyphs;
+    le_int32  *indices;
+    float     *positions;
+};
+
+extern TestResult testResults[];
+
+int main_entry();
+
+