FT_Bitmap


Vocabulary
freetype

Definition
USING: alien.c-types classes.struct ;

IN: freetype

STRUCT: FT_Bitmap
{ rows int initial: 0 } { width int initial: 0 }
{ pitch int initial: 0 } { buffer void* }
{ num_grays short initial: 0 }
{ pixel_mode char initial: 0 }
{ palette_mode char initial: 0 } { palette void* } ;


Methods
USING: classes.struct classes.struct.private freetype kernel ;

M: FT_Bitmap clone
clone-underlying \ FT_Bitmap memory>struct ; inline


USING: accessors classes.struct combinators combinators.smart
freetype ;

M: FT_Bitmap struct-slot-values
[
{
[ rows>> ]
[ width>> ]
[ pitch>> ]
[ buffer>> ]
[ num_grays>> ]
[ pixel_mode>> ]
[ palette_mode>> ]
[ palette>> ]
} cleave
] output>array ; inline