ReactOS
0.4.16-dev-1063-gd722e70
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
Functions
ftgasp.c File Reference
#include <
ft2build.h
>
Include dependency graph for ftgasp.c:
Go to the source code of this file.
Functions
FT_Get_Gasp
(
FT_Face
face
,
FT_UInt
ppem)
Function Documentation
◆
FT_Get_Gasp()
FT_Get_Gasp
(
FT_Face
face
,
FT_UInt
ppem
)
Definition at line
25
of file
ftgasp.c
.
27
{
28
FT_Int
result
=
FT_GASP_NO_TABLE
;
29
30
31
if
(
face
&&
FT_IS_SFNT
(
face
) )
32
{
33
TT_Face
ttface = (
TT_Face
)
face
;
34
35
36
if
( ttface->
gasp
.
numRanges
> 0 )
37
{
38
TT_GaspRange
range
= ttface->
gasp
.
gaspRanges
;
39
TT_GaspRange
range_end =
range
+ ttface->
gasp
.
numRanges
;
40
41
42
while
( ppem >
range
->maxPPEM )
43
{
44
range
++;
45
if
(
range
>= range_end )
46
goto
Exit
;
47
}
48
49
result
=
range
->gaspFlag;
50
51
/* ensure that we don't have spurious bits */
52
if
( ttface->
gasp
.
version
== 0 )
53
result
&= 3;
54
}
55
}
56
Exit
:
57
return
result
;
58
}
FT_IS_SFNT
#define FT_IS_SFNT(face)
Definition:
freetype.h:1303
FT_GASP_NO_TABLE
#define FT_GASP_NO_TABLE
Definition:
ftgasp.h:95
FT_Int
signed int FT_Int
Definition:
fttypes.h:220
face
GLenum GLuint GLint GLenum face
Definition:
glext.h:7025
range
GLenum GLint * range
Definition:
glext.h:7539
result
GLuint64EXT * result
Definition:
glext.h:11304
Exit
static void Exit(void)
Definition:
sock.c:1330
TT_FaceRec_
Definition:
tttypes.h:1537
TT_FaceRec_::gasp
TT_GaspRec gasp
Definition:
tttypes.h:1600
TT_GaspRangeRec_
Definition:
tttypes.h:421
TT_Gasp_::version
FT_UShort version
Definition:
tttypes.h:453
TT_Gasp_::numRanges
FT_UShort numRanges
Definition:
tttypes.h:454
TT_Gasp_::gaspRanges
TT_GaspRange gaspRanges
Definition:
tttypes.h:455
TT_Face
struct TT_FaceRec_ * TT_Face
Definition:
tttypes.h:1064
sdk
lib
3rdparty
freetype
src
base
ftgasp.c
Generated on Thu May 1 2025 06:27:40 for ReactOS by
1.9.6