ImpsEngine  1.0.0
A software library collection for end user applications.
IAGlyph Class Reference
Inheritance diagram for IAGlyph:
IADrawable

Public Member Functions

IA_CONSTRUCTOR void IAGlyph_init (IAGlyph *, IAImage *image, IAGlyphInformation glyphInformation)
 
void IAGlyph_setCurrentFontSize (IAGlyph *, float currentFontSize)
 
float IAGlyph_getCurrentFontSize (IAGlyph *)
 
void IAGlyph_setColor (IAGlyph *, IAColor color)
 
float IAGlyph_getWidthNeededInPixel (IAGlyph *)
 
float IAGlyph_getSpaceBetweenGlyphesInPixel (IAGlyph *, IAGlyph *nextGlyph, IAHashMap *kernings, float scaleForKernings)
 
int IAGlyph_toUTF8 (IAGlyph *, char utf8Out[4])
 
void IAGlyph_setLeftTopPoint (IAGlyph *, IAPoint point)
 
static void IAGlyph_setCustomAdditionalAdvanceBetweenGlyphesInPixel (IAGlyph *this, float customAdditionalAdvanceBetweenGlyphesInPixel)
 
static float IAGlyph_getCustomAdditionalAdvanceBetweenGlyphesInPixel (const IAGlyph *this)
 
IA_DESTRUCTOR void IAGlyph_deinit (IAGlyph *)
 
- Public Member Functions inherited from IADrawable
IA_CONSTRUCTOR void IADrawable_make (IADrawable *, void(*drawFunction)(const IADrawable *))
 
IA_CONSTRUCTOR void IADrawable_makeCopy (IADrawable *, const IADrawable *drawableToCopy)
 
void IADrawable_draw (const IADrawable *)
 
static void IADrawable_setIsVisible (IADrawable *this, bool isVisible)
 
static bool IADrawable_isVisible (const IADrawable *this)
 

Data Fields

IADrawable drawable
 
IAImageimage
 
IAGlyphInformation glyphInformation
 
float customAdditionalAdvanceBetweenGlyphesInPixel
 
float currentFontSize
 
float currentXOffset
 
float currentYOffset
 
float currentXAdvance
 
- Data Fields inherited from IADrawable
IAObject base
 
void(* drawFunction )(const IADrawable *)
 
bool isVisible
 

Member Function Documentation

◆ IAGlyph_init()

IA_CONSTRUCTOR void IAGlyph_init ( IAGlyph ,
IAImage image,
IAGlyphInformation  glyphInformation 
)

◆ IAGlyph_setCurrentFontSize()

void IAGlyph_setCurrentFontSize ( IAGlyph ,
float  currentFontSize 
)

◆ IAGlyph_getCurrentFontSize()

float IAGlyph_getCurrentFontSize ( IAGlyph )

◆ IAGlyph_setColor()

void IAGlyph_setColor ( IAGlyph ,
IAColor  color 
)

◆ IAGlyph_getWidthNeededInPixel()

float IAGlyph_getWidthNeededInPixel ( IAGlyph )

◆ IAGlyph_getSpaceBetweenGlyphesInPixel()

float IAGlyph_getSpaceBetweenGlyphesInPixel ( IAGlyph ,
IAGlyph nextGlyph,
IAHashMap kernings,
float  scaleForKernings 
)

◆ IAGlyph_toUTF8()

int IAGlyph_toUTF8 ( IAGlyph ,
char  utf8Out[4] 
)

◆ IAGlyph_setLeftTopPoint()

void IAGlyph_setLeftTopPoint ( IAGlyph ,
IAPoint  point 
)

◆ IAGlyph_setCustomAdditionalAdvanceBetweenGlyphesInPixel()

static void IAGlyph_setCustomAdditionalAdvanceBetweenGlyphesInPixel ( IAGlyph this,
float  customAdditionalAdvanceBetweenGlyphesInPixel 
)
inline

◆ IAGlyph_getCustomAdditionalAdvanceBetweenGlyphesInPixel()

static float IAGlyph_getCustomAdditionalAdvanceBetweenGlyphesInPixel ( const IAGlyph this)
inline

◆ IAGlyph_deinit()

IA_DESTRUCTOR void IAGlyph_deinit ( IAGlyph )

Field Documentation

◆ drawable

IADrawable IAGlyph::drawable

◆ image

IAImage* IAGlyph::image

◆ glyphInformation

IAGlyphInformation IAGlyph::glyphInformation

◆ customAdditionalAdvanceBetweenGlyphesInPixel

float IAGlyph::customAdditionalAdvanceBetweenGlyphesInPixel

◆ currentFontSize

float IAGlyph::currentFontSize

◆ currentXOffset

float IAGlyph::currentXOffset

◆ currentYOffset

float IAGlyph::currentYOffset

◆ currentXAdvance

float IAGlyph::currentXAdvance

The documentation for this class was generated from the following files: