Exemplo n.º 1
0
/* This function returns a characters width.
 * The characters width is return in px. If a character has no bounds
 * -1 is returned.
 */
float SWFCharacter_getWidth(SWFCharacter character)
{
	if(character->bounds == NULL)
		return -1;

	return SWFCharacter_getScaledWidth(character) / Ming_scale;
}
Exemplo n.º 2
0
float
SWFCharacter_getWidth(SWFCharacter character)
{
	return SWFCharacter_getScaledWidth(character) / Ming_scale;
}