#include <ft2build.h>
#include <time.h>
Go to the source code of this file.
◆ REPEAT
◆ XSCALE
◆ XVAL
◆ XVEC
◆ XX
◆ dump_outline()
Definition at line 112 of file test_bbox.c.
113 {
115
116
118 printf(
"cbox = [%.2f %.2f %.2f %.2f]\n",
123
124
126 printf(
"bbox = [%.2f %.2f %.2f %.2f]\n",
131 }
FT_BEGIN_HEADER FT_Outline_Get_BBox(FT_Outline *outline, FT_BBox *abbox)
FT_Outline_Get_CBox(const FT_Outline *outline, FT_BBox *acbox)
◆ get_time()
◆ main()
Definition at line 175 of file test_bbox.c.
176 {
179
182
185
186 return 0;
187 }
static FT_Outline dummy_outline_2
static void profile_outline(FT_Outline *outline, long repeat)
static FT_Outline dummy_outline_3
static FT_Outline dummy_outline_1
◆ profile_outline()
Definition at line 136 of file test_bbox.c.
138 {
141 long time0;
142
146
148 printf(
"time = %6.3f cbox = [%8.4f %8.4f %8.4f %8.4f]\n",
149 ((double)time0/10000.0),
154 printf(
"cbox_hex = [%08X %08X %08X %08X]\n",
156
157
161
163 printf(
"time = %6.3f bbox = [%8.4f %8.4f %8.4f %8.4f]\n",
164 ((double)time0/10000.0),
169 printf(
"bbox_hex = [%08X %08X %08X %08X]\n",
171 }
GLuint GLuint GLsizei count
static long get_time(void)
Referenced by main().
◆ dummy_contour_1
◆ dummy_outline_1
Initial value:=
{
1,
4,
0
}
static char dummy_tag_1[4]
static FT_Vector dummy_vec_1[4]
static short dummy_contour_1[1]
Definition at line 60 of file test_bbox.c.
Referenced by main().
◆ dummy_outline_2
Initial value:=
{
1,
4,
0
}
static FT_Vector dummy_vec_2[4]
Definition at line 80 of file test_bbox.c.
Referenced by main().
◆ dummy_outline_3
Initial value:=
{
1,
4,
0
}
static FT_Vector dummy_vec_3[4]
Definition at line 100 of file test_bbox.c.
Referenced by main().
◆ dummy_tag_1
Initial value:=
{
}
#define FT_CURVE_TAG_CUBIC
Definition at line 47 of file test_bbox.c.
◆ dummy_vec_1
Initial value:=
{
XVEC( 408.9111, 535.3164 ),
XVEC( 455.8887, 634.396 ),
XVEC( -37.8765, 786.2207 ),
}
Definition at line 32 of file test_bbox.c.
◆ dummy_vec_2
◆ dummy_vec_3