20#include FT_INTERNAL_DEBUG_H
21#include FT_INTERNAL_OBJECTS_H
47 return render->clazz->raster_class->raster_set_mode(
render->raster,
121 return FT_THROW( Cannot_Render_Glyph );
128 slot->internal->flags &= ~FT_GLYPH_OWN_BITMAP;
139 x_shift = -
slot->bitmap_left * 64;
149 if ( x_shift || y_shift )
163 slot->format = FT_GLYPH_FORMAT_BITMAP;
167 slot->internal->flags &= ~FT_GLYPH_OWN_BITMAP;
170 if ( x_shift || y_shift )
178 ft_raster1_renderer_class,
enum FT_Render_Mode_ FT_Render_Mode
#define FT_RASTER_FLAG_DEFAULT
FT_BEGIN_HEADER typedef signed long FT_Pos
#define FT_ALLOC_MULT(ptr, count, item_size)
void(* FT_Module_Destructor)(FT_Module module)
#define FT_MODULE_RENDERER
FT_Error(* FT_Module_Constructor)(FT_Module module)
FT_Module_Interface(* FT_Module_Requester)(FT_Module module, const char *name)
ft_glyphslot_preset_bitmap(FT_GlyphSlot slot, FT_Render_Mode mode, const FT_Vector *origin)
#define FT_GLYPH_OWN_BITMAP
#define FT_DEFINE_RENDERER( class_, flags_, size_, name_, version_, requires_, interface_, init_, done_, get_interface_, glyph_format_, render_glyph_, transform_glyph_, get_glyph_cbox_, set_mode_, raster_class_)
FT_Outline_Translate(const FT_Outline *outline, FT_Pos xOffset, FT_Pos yOffset)
FT_Outline_Transform(const FT_Outline *outline, const FT_Matrix *matrix)
FT_Outline_Get_CBox(const FT_Outline *outline, FT_BBox *acbox)
static FT_Error ft_raster1_transform(FT_Renderer render, FT_GlyphSlot slot, const FT_Matrix *matrix, const FT_Vector *delta)
static FT_Error ft_raster1_set_mode(FT_Renderer render, FT_ULong mode_tag, FT_Pointer data)
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)
static FT_Error ft_raster1_init(FT_Renderer render)
FT_Error(* FT_Renderer_SetModeFunc)(FT_Renderer renderer, FT_ULong mode_tag, FT_Pointer mode_ptr)
FT_Error(* FT_Renderer_TransformFunc)(FT_Renderer renderer, FT_GlyphSlot slot, const FT_Matrix *matrix, const FT_Vector *delta)
void(* FT_Renderer_GetCBoxFunc)(FT_Renderer renderer, FT_GlyphSlot slot, FT_BBox *cbox)
FT_Error(* FT_Renderer_RenderFunc)(FT_Renderer renderer, FT_GlyphSlot slot, FT_Render_Mode mode, const FT_Vector *origin)
smooth FT_Module_Constructor FT_Module_Destructor FT_Module_Requester FT_GLYPH_FORMAT_OUTLINE
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum const GLfloat * params
static char memory[1024 *256]
#define FT_STANDARD_RASTER_GET