You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
651 B

  1. unit utsChar;
  2. {$IFDEF FPC}
  3. {$mode objfpc}{$H+}
  4. {$ENDIF}
  5. interface
  6. uses
  7. Classes, SysUtils,
  8. utsTypes;
  9. type
  10. TtsChar = class(TObject)
  11. private
  12. fCharCode: WideChar;
  13. fGlyphMetric: TtsGlyphMetric;
  14. protected
  15. fRenderRef: TtsRenderRef;
  16. public
  17. property CharCode: WideChar read fCharCode;
  18. property RenderRef: TtsRenderRef read fRenderRef;
  19. property GlyphMetric: TtsGlyphMetric read fGlyphMetric write fGlyphMetric;
  20. constructor Create(const aCharCode: WideChar);
  21. end;
  22. implementation
  23. constructor TtsChar.Create(const aCharCode: WideChar);
  24. begin
  25. inherited Create;
  26. fCharCode := aCharCode;
  27. end;
  28. end.