20 #include FT_INTERNAL_DEBUG_H 21 #include FT_INTERNAL_OBJECTS_H 70 error =
FT_THROW( Invalid_Argument );
118 error =
FT_THROW( Invalid_Argument );
123 #ifndef FT_CONFIG_OPTION_PIC 127 if ( render->
clazz == &ft_raster1_renderer_class )
128 return FT_THROW( Cannot_Render_Glyph );
133 if ( render->
clazz == &ft_raster5_renderer_class )
134 return FT_THROW( Cannot_Render_Glyph );
146 return FT_THROW( Cannot_Render_Glyph );
152 return FT_THROW( Cannot_Render_Glyph );
183 error =
FT_THROW( Invalid_Argument );
207 pitch = ( ( width + 15 ) >> 4 ) << 1;
213 bitmap->
pitch = pitch;
239 slot->
format = FT_GLYPH_FORMAT_BITMAP;
GLint GLint GLsizei GLsizei height
FT_ULong raster_pool_size
FT_Raster_Render_Func raster_render
FT_Error(* FT_Module_Constructor)(FT_Module module)
#define FT_STANDARD_RASTER_GET
#define FT_MEM_ZERO(dest, count)
enum FT_Render_Mode_ FT_Render_Mode
return FT_THROW(Missing_Property)
#define FT_RASTER_FLAG_AA
GLint GLint GLsizei width
#define FT_GLYPH_OWN_BITMAP
void(* FT_Renderer_GetCBoxFunc)(FT_Renderer renderer, FT_GlyphSlot slot, FT_BBox *cbox)
#define FT_PAD_CEIL(x, n)
FT_Outline_Get_CBox(const FT_Outline *outline, FT_BBox *acbox)
FT_Outline_Transform(const FT_Outline *outline, const FT_Matrix *matrix)
FT_Module_Constructor FT_Module_Requester
FT_Raster_Funcs * raster_class
FT_Raster_ResetFunc raster_reset
GLsizei GLsizei GLenum GLenum const GLvoid * data
FT_Raster_SetModeFunc raster_set_mode
FT_Module_Constructor FT_Renderer_RenderFunc FT_Renderer_TransformFunc ft_raster1_transform
#define FT_MODULE_LIBRARY(x)
FT_Module_Constructor FT_Renderer_RenderFunc FT_Renderer_TransformFunc FT_Renderer_GetCBoxFunc ft_raster1_get_cbox
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FT_Glyph_Format glyph_format
FT_Module_Constructor FT_Renderer_RenderFunc ft_raster1_render
GLenum const GLfloat * params
const FT_String * module_name
FT_Error(* FT_Renderer_SetModeFunc)(FT_Renderer renderer, FT_ULong mode_tag, FT_Pointer mode_ptr)
FT_Slot_Internal internal
#define FT_ALLOC_MULT(ptr, count, item_size)
FT_Module_Constructor ft_raster1_init
FT_Error(* FT_Renderer_TransformFunc)(FT_Renderer renderer, FT_GlyphSlot slot, const FT_Matrix *matrix, const FT_Vector *delta)
FT_Outline_Translate(const FT_Outline *outline, FT_Pos xOffset, FT_Pos yOffset)
FT_Renderer_Class * clazz
FT_Module_Constructor FT_GLYPH_FORMAT_OUTLINE
FT_Module_Constructor FT_Module_Destructor
FT_Module_Constructor FT_Renderer_RenderFunc FT_Renderer_TransformFunc FT_Renderer_GetCBoxFunc FT_Renderer_SetModeFunc ft_raster1_set_mode
FT_DEFINE_RENDERER(ft_raster1_renderer_class, FT_MODULE_RENDERER, sizeof(FT_RendererRec), "raster1", 0x10000L, 0x20000L, 0,(FT_Module_Constructor) ft_raster1_init,(FT_Module_Destructor) 0,(FT_Module_Requester) 0, FT_GLYPH_FORMAT_OUTLINE,(FT_Renderer_RenderFunc) ft_raster1_render,(FT_Renderer_TransformFunc) ft_raster1_transform,(FT_Renderer_GetCBoxFunc) ft_raster1_get_cbox,(FT_Renderer_SetModeFunc) ft_raster1_set_mode,(FT_Raster_Funcs *) &FT_STANDARD_RASTER_GET) FT_DEFINE_RENDERER(ft_raster5_renderer_class
FT_Error(* FT_Renderer_RenderFunc)(FT_Renderer renderer, FT_GlyphSlot slot, FT_UInt mode, const FT_Vector *origin)