zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftbitmap.c File Reference
#include <ft2build.h>
#include <FT_BITMAP_H>
#include <FT_IMAGE_H>
#include <FT_INTERNAL_OBJECTS_H>

Go to the source code of this file.

Functions

static FT_Error ft_bitmap_assure_buffer (FT_Memory memory, FT_Bitmap *bitmap, FT_UInt xpixels, FT_UInt ypixels)
 
 FT_Bitmap_Convert (FT_Library library, const FT_Bitmap *source, FT_Bitmap *target, FT_Int alignment)
 
 FT_Bitmap_Copy (FT_Library library, const FT_Bitmap *source, FT_Bitmap *target)
 
 FT_Bitmap_Done (FT_Library library, FT_Bitmap *bitmap)
 
 FT_Bitmap_Embolden (FT_Library library, FT_Bitmap *bitmap, FT_Pos xStrength, FT_Pos yStrength)
 
 FT_Bitmap_New (FT_Bitmap *abitmap)
 
 FT_GlyphSlot_Own_Bitmap (FT_GlyphSlot slot)
 

Variables

static const FT_Bitmap null_bitmap = { 0, 0, 0, 0, 0, 0, 0, 0 }
 

Function Documentation

FT_Bitmap_Copy ( FT_Library  library,
const FT_Bitmap source,
FT_Bitmap target 
)
FT_Bitmap_Done ( FT_Library  library,
FT_Bitmap bitmap 
)

Definition at line 646 of file ftbitmap.c.

References FT_Err_Invalid_Argument, FT_Err_Ok, FT_FREE, and null_bitmap.

Referenced by FT_Bitmap_Embolden(), and ft_bitmap_glyph_done().

FT_Bitmap_New ( FT_Bitmap abitmap)

Definition at line 32 of file ftbitmap.c.

References null_bitmap.

Referenced by FT_Bitmap_Embolden(), ft_bitmap_glyph_init(), and FT_GlyphSlot_Own_Bitmap().

FT_GlyphSlot_Own_Bitmap ( FT_GlyphSlot  slot)

Definition at line 621 of file ftbitmap.c.

References error, FT_Bitmap_Copy(), FT_Bitmap_New(), FT_Err_Ok, and FT_GLYPH_OWN_BITMAP.

Referenced by FT_GlyphSlot_Embolden().

Variable Documentation

const FT_Bitmap null_bitmap = { 0, 0, 0, 0, 0, 0, 0, 0 }
static

Definition at line 26 of file ftbitmap.c.

Referenced by FT_Bitmap_Done(), and FT_Bitmap_New().