Go to the source code of this file.
|
| static FT_Error | ft_raster1_init (FT_Renderer render) |
| |
| static FT_Error | ft_raster1_set_mode (FT_Renderer render, FT_ULong mode_tag, FT_Pointer data) |
| |
| static FT_Error | ft_raster1_transform (FT_Renderer render, FT_GlyphSlot slot, const FT_Matrix *matrix, const FT_Vector *delta) |
| |
| static void | ft_raster1_get_cbox (FT_Renderer render, FT_GlyphSlot slot, FT_BBox *cbox) |
| |
| static FT_Error | ft_raster1_render (FT_Renderer render, FT_GlyphSlot slot, FT_Render_Mode mode, const FT_Vector *origin) |
| |
◆ ft_raster1_get_cbox()
Definition at line 80 of file ftrend1.c.
83 {
85
88 }
FT_Outline_Get_CBox(const FT_Outline *outline, FT_BBox *acbox)
◆ ft_raster1_init()
◆ ft_raster1_render()
Definition at line 93 of file ftrend1.c.
97 {
104
106
107
108
110 {
113 }
114
115
117 {
118
119 return FT_THROW( Cannot_Render_Glyph );
120 }
121
122
124 {
126 slot->internal->flags &= ~FT_GLYPH_OWN_BITMAP;
127 }
128
130 {
133 }
134
135
138
140
141 x_shift = -
slot->bitmap_left * 64;
143
145 {
148 }
149
150
151 if ( x_shift || y_shift )
153
154
158
159
161
164
165 slot->format = FT_GLYPH_FORMAT_BITMAP;
167 {
169 slot->internal->flags &= ~FT_GLYPH_OWN_BITMAP;
170 }
171
172 if ( x_shift || y_shift )
174
176 }
#define FT_RASTER_FLAG_DEFAULT
FT_BEGIN_HEADER typedef signed long FT_Pos
#define FT_ALLOC_MULT(ptr, count, item_size)
ft_glyphslot_preset_bitmap(FT_GlyphSlot slot, FT_Render_Mode mode, const FT_Vector *origin)
#define FT_GLYPH_OWN_BITMAP
FT_Outline_Translate(const FT_Outline *outline, FT_Pos xOffset, FT_Pos yOffset)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
GLenum const GLfloat * params
static char memory[1024 *256]
◆ ft_raster1_set_mode()
Definition at line 40 of file ftrend1.c.
43 {
44
45 return render->clazz->raster_class->raster_set_mode(
render->raster,
46 mode_tag,
48 }
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
◆ ft_raster1_transform()
Definition at line 53 of file ftrend1.c.
57 {
59
60
62 {
65 }
66
69
70 if ( delta )
72
75 }
FT_Outline_Transform(const FT_Outline *outline, const FT_Matrix *matrix)