MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
type.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2018 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  https://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 {
48 } StyleType;
49 
50 typedef struct _TypeInfo
51 {
52  size_t
54 
55  char
56  *path,
57  *name,
58  *description,
59  *family;
60 
61  StyleType
63 
64  StretchType
66 
67  size_t
69 
70  char
72  *foundry,
73  *format,
74  *metrics,
75  *glyphs;
76 
79 
80  struct _TypeInfo
81  *previous,
82  *next; /* deprecated, use GetTypeInfoList() */
83 
84  size_t
86 } TypeInfo;
87 
88 extern MagickExport char
89  **GetTypeList(const char *,size_t *,ExceptionInfo *);
90 
92  ListTypeInfo(FILE *,ExceptionInfo *),
94 
95 extern MagickExport const TypeInfo
96  *GetTypeInfo(const char *,ExceptionInfo *),
97  *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
98  const size_t,ExceptionInfo *),
99  **GetTypeInfoList(const char *,size_t *,ExceptionInfo *);
100 
101 MagickExport void
102  TypeComponentTerminus(void);
103 
104 #if defined(__cplusplus) || defined(c_plusplus)
105 }
106 #endif
107 
108 #endif
size_t face
Definition: type.h:53
Definition: type.h:29
StyleType
Definition: type.h:40
Definition: type.h:42
char * description
Definition: type.h:56
MagickExport char ** GetTypeList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:646
MagickExport MagickBooleanType ListTypeInfo(FILE *, ExceptionInfo *)
MagickExport void TypeComponentTerminus(void)
Definition: type.c:1376
Definition: type.h:34
char * metrics
Definition: type.h:71
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:56
MagickExport const TypeInfo * GetTypeInfo(const char *, ExceptionInfo *)
size_t weight
Definition: type.h:68
Definition: type.h:32
char * foundry
Definition: type.h:71
struct _TypeInfo * next
Definition: type.h:80
Definition: type.h:33
MagickBooleanType
Definition: magick-type.h:189
char * family
Definition: type.h:56
Definition: type.h:35
StretchType stretch
Definition: type.h:65
StretchType
Definition: type.h:25
Definition: type.h:28
Definition: type.h:37
char * glyphs
Definition: type.h:71
Definition: type.h:50
char * format
Definition: type.h:71
MagickBooleanType stealth
Definition: type.h:78
Definition: type.h:43
Definition: type.h:36
Definition: type.h:31
Definition: type.h:47
struct _TypeInfo TypeInfo
Definition: type.h:46
char * encoding
Definition: type.h:71
size_t signature
Definition: type.h:85
MagickExport MagickBooleanType TypeComponentGenesis(void)
Definition: type.c:1351
MagickExport const TypeInfo ** GetTypeInfoList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:553
#define MagickExport
Definition: method-attribute.h:98
StyleType style
Definition: type.h:62
struct _TypeInfo * previous
Definition: type.h:80
Definition: type.h:27
char * name
Definition: type.h:56
Definition: type.h:45
Definition: type.h:44