MagickCore  6.9.7
type.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore image type methods.
17 */
18 #ifndef MAGICKCORE_TYPE_H
19 #define MAGICKCORE_TYPE_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef enum
26 {
38 } StretchType;
39 
40 typedef enum
41 {
47 } StyleType;
48 
49 typedef struct _TypeInfo
50 {
51  size_t
53 
54  char
55  *path,
56  *name,
57  *description,
58  *family;
59 
60  StyleType
62 
65 
66  size_t
68 
69  char
71  *foundry,
72  *format,
73  *metrics,
74  *glyphs;
75 
78 
79  struct _TypeInfo
80  *previous,
81  *next; /* deprecated, use GetTypeInfoList() */
82 
83  size_t
85 } TypeInfo;
86 
87 extern MagickExport char
88  **GetTypeList(const char *,size_t *,ExceptionInfo *);
89 
91  ListTypeInfo(FILE *,ExceptionInfo *),
93 
94 extern MagickExport const TypeInfo
95  *GetTypeInfo(const char *,ExceptionInfo *),
96  *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
97  const size_t,ExceptionInfo *),
98  **GetTypeInfoList(const char *,size_t *,ExceptionInfo *);
99 
100 MagickExport void
101  TypeComponentTerminus(void);
102 
103 #if defined(__cplusplus) || defined(c_plusplus)
104 }
105 #endif
106 
107 #endif
size_t face
Definition: type.h:52
Definition: type.h:29
StyleType
Definition: type.h:40
Definition: type.h:42
char * description
Definition: type.h:55
MagickExport char ** GetTypeList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:657
MagickExport MagickBooleanType ListTypeInfo(FILE *, ExceptionInfo *)
MagickExport void TypeComponentTerminus(void)
Definition: type.c:1376
Definition: type.h:34
char * metrics
Definition: type.h:70
Definition: exception.h:102
MagickExport const TypeInfo * GetTypeInfoByFamily(const char *, const StyleType, const StretchType, const size_t, ExceptionInfo *)
Definition: type.h:30
char * path
Definition: type.h:55
MagickExport const TypeInfo * GetTypeInfo(const char *, ExceptionInfo *)
size_t weight
Definition: type.h:67
Definition: type.h:32
char * foundry
Definition: type.h:70
struct _TypeInfo * next
Definition: type.h:79
Definition: type.h:33
MagickBooleanType
Definition: magick-type.h:211
char * family
Definition: type.h:55
Definition: type.h:35
StretchType stretch
Definition: type.h:64
StretchType
Definition: type.h:25
Definition: type.h:28
Definition: type.h:37
char * glyphs
Definition: type.h:70
Definition: type.h:49
char * format
Definition: type.h:70
MagickBooleanType stealth
Definition: type.h:77
Definition: type.h:43
Definition: type.h:36
Definition: type.h:31
struct _TypeInfo TypeInfo
Definition: type.h:46
char * encoding
Definition: type.h:70
size_t signature
Definition: type.h:84
MagickExport MagickBooleanType TypeComponentGenesis(void)
Definition: type.c:1351
MagickExport const TypeInfo ** GetTypeInfoList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:564
#define MagickExport
Definition: method-attribute.h:98
StyleType style
Definition: type.h:61
struct _TypeInfo * previous
Definition: type.h:79
Definition: type.h:27
char * name
Definition: type.h:55
Definition: type.h:45
Definition: type.h:44