MagickCore 6.9.11-60
Convert, Edit, Or Compose Bitmap Images
type.h
Go to the documentation of this file.
1/*
2 Copyright 1999-2021 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. You may
6 obtain a copy of the License at
7
8 https://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)
22extern "C" {
23#endif
24
25typedef enum
26{
39
40typedef enum
41{
47 BoldStyle /* deprecated */
49
50typedef struct _TypeInfo
51{
52 size_t
54
55 char
60
63
66
67 size_t
69
70 char
76
79
80 struct _TypeInfo
82 *next; /* deprecated, use GetTypeInfoList() */
83
84 size_t
87
88extern MagickExport char
89 **GetTypeList(const char *,size_t *,ExceptionInfo *);
90
94
95extern 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
101extern MagickExport void
103
104#if defined(__cplusplus) || defined(c_plusplus)
105}
106#endif
107
108#endif
MagickBooleanType
Definition: magick-type.h:203
#define MagickExport
Definition: method-attribute.h:80
Definition: exception.h:103
Definition: type.h:51
struct _TypeInfo * previous
Definition: type.h:80
struct _TypeInfo * next
Definition: type.h:82
char * metrics
Definition: type.h:74
size_t face
Definition: type.h:53
char * glyphs
Definition: type.h:75
char * format
Definition: type.h:73
MagickBooleanType stealth
Definition: type.h:78
char * path
Definition: type.h:56
size_t signature
Definition: type.h:85
StretchType stretch
Definition: type.h:65
char * family
Definition: type.h:59
size_t weight
Definition: type.h:68
char * encoding
Definition: type.h:71
char * name
Definition: type.h:57
char * description
Definition: type.h:58
char * foundry
Definition: type.h:72
StyleType style
Definition: type.h:62
MagickExport const TypeInfo * GetTypeInfo(const char *, ExceptionInfo *)
MagickExport void TypeComponentTerminus(void)
Definition: type.c:1374
MagickExport MagickBooleanType ListTypeInfo(FILE *, ExceptionInfo *)
struct _TypeInfo TypeInfo
MagickExport const TypeInfo * GetTypeInfoByFamily(const char *, const StyleType, const StretchType, const size_t, ExceptionInfo *)
MagickExport MagickBooleanType TypeComponentGenesis(void)
Definition: type.c:1349
StretchType
Definition: type.h:26
@ NormalStretch
Definition: type.h:28
@ ExtraCondensedStretch
Definition: type.h:30
@ AnyStretch
Definition: type.h:37
@ ExtraExpandedStretch
Definition: type.h:35
@ CondensedStretch
Definition: type.h:31
@ ExpandedStretch
Definition: type.h:34
@ SemiCondensedStretch
Definition: type.h:32
@ SemiExpandedStretch
Definition: type.h:33
@ UndefinedStretch
Definition: type.h:27
@ UltraCondensedStretch
Definition: type.h:29
@ UltraExpandedStretch
Definition: type.h:36
StyleType
Definition: type.h:41
@ UndefinedStyle
Definition: type.h:42
@ NormalStyle
Definition: type.h:43
@ BoldStyle
Definition: type.h:47
@ ObliqueStyle
Definition: type.h:45
@ AnyStyle
Definition: type.h:46
@ ItalicStyle
Definition: type.h:44
MagickExport char ** GetTypeList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:644
MagickExport const TypeInfo ** GetTypeInfoList(const char *, size_t *, ExceptionInfo *)
Definition: type.c:551