MagickCore  7.0.7
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 {
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 
63  StretchType
65 
66  size_t
68 
69  char
71  *foundry,
72  *format,
73  *metrics,
74  *glyphs;
75 
78 
79  size_t
81 } TypeInfo;
82 
83 extern MagickExport char
84  **GetTypeList(const char *,size_t *,ExceptionInfo *);
85 
87  ListTypeInfo(FILE *,ExceptionInfo *);
88 
89 extern MagickExport const TypeInfo
90  *GetTypeInfo(const char *,ExceptionInfo *),
91  *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
92  const size_t,ExceptionInfo *),
93  **GetTypeInfoList(const char *,size_t *,ExceptionInfo *);
94 
95 #if defined(__cplusplus) || defined(c_plusplus)
96 }
97 #endif
98 
99 #endif
size_t face
Definition: type.h:52
StyleType
Definition: type.h:40
char * description
Definition: type.h:55
MagickExport char ** GetTypeList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:647
MagickExport MagickBooleanType ListTypeInfo(FILE *, ExceptionInfo *)
Definition: type.c:929
char * metrics
Definition: type.h:70
MagickExport const TypeInfo * GetTypeInfoByFamily(const char *, const StyleType, const StretchType, const size_t, ExceptionInfo *)
char * path
Definition: type.h:55
MagickExport const TypeInfo * GetTypeInfo(const char *, ExceptionInfo *)
size_t weight
Definition: type.h:67
char * foundry
Definition: type.h:70
MagickBooleanType
Definition: magick-type.h:156
char * family
Definition: type.h:55
StretchType stretch
Definition: type.h:64
StretchType
Definition: type.h:25
char * glyphs
Definition: type.h:70
Definition: type.h:49
char * format
Definition: type.h:70
MagickBooleanType stealth
Definition: type.h:77
struct _TypeInfo TypeInfo
Definition: type.h:46
char * encoding
Definition: type.h:70
size_t signature
Definition: type.h:80
MagickExport const TypeInfo ** GetTypeInfoList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:554
#define MagickExport
StyleType style
Definition: type.h:61
char * name
Definition: type.h:55