type.inc 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. Copyright 1999-2005 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License.
  5. obtain a copy of the License at
  6. http://www.imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ImageMagick image type methods.
  13. }
  14. type
  15. StretchType = (
  16. UndefinedStretch,
  17. NormalStretch,
  18. UltraCondensedStretch,
  19. ExtraCondensedStretch,
  20. CondensedStretch,
  21. SemiCondensedStretch,
  22. SemiExpandedStretch,
  23. ExpandedStretch,
  24. ExtraExpandedStretch,
  25. UltraExpandedStretch,
  26. AnyStretch
  27. );
  28. type
  29. StyleType = (
  30. UndefinedStyle,
  31. NormalStyle,
  32. ItalicStyle,
  33. ObliqueStyle,
  34. AnyStyle
  35. );
  36. type
  37. TypeInfo = record
  38. face: culong;
  39. path,
  40. name,
  41. description,
  42. family: PChar;
  43. style: StyleType;
  44. stretch: StretchType;
  45. weight: culong;
  46. encoding,
  47. foundry,
  48. format,
  49. metrics,
  50. glyphs: PChar;
  51. stealth: MagickBooleanType;
  52. previous, next: Pointer;
  53. { struct _TypeInfo
  54. *previous,
  55. *next; /* deprecated, use GetTypeInfoList() */}
  56. signature: culong;
  57. end;
  58. {function GetTypeList(const char *,unsigned long *,ExceptionInfo *): PPChar; external MagickExport;
  59. extern MagickExport MagickBooleanType
  60. ListTypeInfo(FILE *,ExceptionInfo *);
  61. extern MagickExport const TypeInfo
  62. *GetTypeInfo(const char *,ExceptionInfo *),
  63. *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
  64. const unsigned long,ExceptionInfo *),
  65. **GetTypeInfoList(const char *,unsigned long *,ExceptionInfo *);
  66. MagickExport void
  67. DestroyTypeList(void);}