Xinf API Reference
Back | Index
class xinf.support.Font
var family_name :String (read-only)
var style_name :String (read-only)
var ascender :Float (read-only)
var descender :Float (read-only)
var height :Float (read-only)
var underline_thickness :Float (read-only)
var underline_position :Float (read-only)
var units_per_EM :Float (read-only)
function new( data:String, ?width:Int, ?height:Int ) :Void
function iterateAllGlyphs( callbackObject:FTIterateCallbacks ) :Void
function renderGlyph( index:Int, size:Float, hint:Bool ) :{ y : Int, x : Int, width : Int, height : Int, bitmap : Dynamic, advance : Float}
static function listFonts( callbackFunction:String -> String -> Int -> Int -> Void ) :Void
static function findFont( family:String, weight:Int, slant:Int, size:Float ) :String
Back | Index