Browse Source

* added documentation

master
Bergmann89 10 years ago
parent
commit
508fac3664
5 changed files with 1354 additions and 7 deletions
  1. +1347
    -0
      doc/documentation.xhtml
  2. +1
    -1
      header/libTextSuite.h
  3. +1
    -1
      header/libTextSuite.hpp
  4. +1
    -1
      header/ulibTextSuite.pas
  5. +4
    -4
      ultsChar.pas

+ 1347
- 0
doc/documentation.xhtml
File diff suppressed because it is too large
View File


+ 1
- 1
header/libTextSuite.h View File

@@ -466,7 +466,7 @@ lts_error_code_t (WINAPI *lts_post_processor_destroy)

lts_error_code_t (WINAPI *lts_char_get_char_code) (lts_char_handle_t handle, wchar_t* value);
lts_error_code_t (WINAPI *lts_char_get_glyph_metric) (lts_char_handle_t handle, lts_glyph_metric_t* value);
lts_error_code_t (WINAPI *lts_char_set_glyph_metric) (lts_char_handle_t handle, lts_glyph_metric_t value);
lts_error_code_t (WINAPI *lts_char_set_glyph_metric) (lts_char_handle_t handle, const lts_glyph_metric_t* value);

lts_error_code_t (WINAPI *lts_get_last_error_code) ();
const char* (WINAPI *lts_get_last_error_msg) ();


+ 1
- 1
header/libTextSuite.hpp View File

@@ -1019,7 +1019,7 @@ public: /* callbacks */
typedef lts::ErrorCode (WINAPI *char_get_char_code_t) (lts::CharHandle handle, WideChar& value);
typedef lts::ErrorCode (WINAPI *char_get_glyph_metric_t) (lts::CharHandle handle, lts::GlyphMetric& value);
typedef lts::ErrorCode (WINAPI *char_set_glyph_metric_t) (lts::CharHandle handle, lts::GlyphMetric value);
typedef lts::ErrorCode (WINAPI *char_set_glyph_metric_t) (lts::CharHandle handle, const lts::GlyphMetric& value);

typedef lts::ErrorCode (WINAPI *initialize_t) ();
typedef lts::ErrorCode (WINAPI *get_last_error_code_t) ();


+ 1
- 1
header/ulibTextSuite.pas View File

@@ -433,7 +433,7 @@ type

TltsCharGetCharCode = function(aHandle: TltsCharHandle; out aValue: WideChar): TltsErrorCode; stdcall;
TltsCharGetGlyphMetric = function(aHandle: TltsCharHandle; out aValue: TltsGlyphMetric): TltsErrorCode; stdcall;
TltsCharSetGlyphMetric = function(aHandle: TltsCharHandle; aValue: TltsGlyphMetric): TltsErrorCode; stdcall;
TltsCharSetGlyphMetric = function(aHandle: TltsCharHandle; constref aValue: TltsGlyphMetric): TltsErrorCode; stdcall;

TltsInitialize = function(): TltsErrorCode; stdcall;
TltsGetLastErrorCode = function(): TltsErrorCode; stdcall;


+ 4
- 4
ultsChar.pas View File

@@ -8,9 +8,9 @@ uses
Classes, SysUtils,
utsTextSuite, ultsTypes;

function ltsCharGetCharCode (aHandle: TltsCharHandle; out aValue: WideChar): TltsErrorCode; stdcall;
function ltsCharGetGlyphMetric(aHandle: TltsCharHandle; out aValue: TtsGlyphMetric): TltsErrorCode; stdcall;
function ltsCharSetGlyphMetric(aHandle: TltsCharHandle; aValue: TtsGlyphMetric): TltsErrorCode; stdcall;
function ltsCharGetCharCode (aHandle: TltsCharHandle; out aValue: WideChar): TltsErrorCode; stdcall;
function ltsCharGetGlyphMetric(aHandle: TltsCharHandle; out aValue: TtsGlyphMetric): TltsErrorCode; stdcall;
function ltsCharSetGlyphMetric(aHandle: TltsCharHandle; constref aValue: TtsGlyphMetric): TltsErrorCode; stdcall;

implementation

@@ -56,7 +56,7 @@ begin
end;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function ltsCharSetGlyphMetric(aHandle: TltsCharHandle; aValue: TtsGlyphMetric): TltsErrorCode; stdcall;
function ltsCharSetGlyphMetric(aHandle: TltsCharHandle; constref aValue: TtsGlyphMetric): TltsErrorCode; stdcall;
var
c: TtsChar;
begin


Loading…
Cancel
Save