Public Member Functions | |
| mixed | SetText (mixed font, mixed fontsize, mixed text, mixed param) |
| mixed | AddText (mixed font, mixed fontsize, mixed text, mixed param) |
| mixed | AddGlyph (mixed glyph) |
| mixed | AddFontGlyph (mixed font, mixed fontsize, mixed charcode, mixed param) |
| mixed | AddSpace (mixed font, mixed fontsize) |
| mixed | AddTab (mixed font, mixed fontsize) |
| mixed | AddNewLine (mixed font, mixed fontsize) |
| mixed | AddHAlign (mixed halign) |
| mixed | AddIcon (mixed glyphinfo, mixed param) |
| AddIcon,font:GetGlyphInfo : glyphinfo = {matname, xmove, xoff,yoff,w,h, u0,v0, ux,vx, uy,vy}. | |
| mixed | GetWordEnd (mixed iFirst) |
| mixed | WidthSum (mixed startindex, mixed endindex, mixed earlyout_w) |
| returns w, if earlyout_w is set, then it returns as soon as this is exceeded | |
| mixed | GetLineInfos (mixed startindex, mixed endindex, mixed autowrap_w) |
| mixed | VisitGlyphs (mixed callbackfun, mixed param, mixed startindex, mixed endindex, mixed autowrap_w, mixed halign, mixed valign) |
Definition at line 862 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::SetText | ( | mixed | font, | |
| mixed | fontsize, | |||
| mixed | text, | |||
| mixed | param | |||
| ) | [inline] |
Definition at line 864 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddText | ( | mixed | font, | |
| mixed | fontsize, | |||
| mixed | text, | |||
| mixed | param | |||
| ) | [inline] |
Definition at line 866 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddGlyph | ( | mixed | glyph | ) | [inline] |
Definition at line 868 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddFontGlyph | ( | mixed | font, | |
| mixed | fontsize, | |||
| mixed | charcode, | |||
| mixed | param | |||
| ) | [inline] |
Definition at line 870 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddSpace | ( | mixed | font, | |
| mixed | fontsize | |||
| ) | [inline] |
Definition at line 872 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddTab | ( | mixed | font, | |
| mixed | fontsize | |||
| ) | [inline] |
Definition at line 874 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddNewLine | ( | mixed | font, | |
| mixed | fontsize | |||
| ) | [inline] |
Definition at line 876 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddHAlign | ( | mixed | halign | ) | [inline] |
Definition at line 878 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::AddIcon | ( | mixed | glyphinfo, | |
| mixed | param | |||
| ) | [inline] |
AddIcon,font:GetGlyphInfo : glyphinfo = {matname, xmove, xoff,yoff,w,h, u0,v0, ux,vx, uy,vy}.
Definition at line 881 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::GetWordEnd | ( | mixed | iFirst | ) | [inline] |
iFirst = glyphindex (onebased) for first glyph in "word" returns j= glyphindex (onebased) for last glyph in "word" returns iFirst if iFirst isn't a word-char
Definition at line 886 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::WidthSum | ( | mixed | startindex, | |
| mixed | endindex, | |||
| mixed | earlyout_w | |||
| ) | [inline] |
returns w, if earlyout_w is set, then it returns as soon as this is exceeded
Definition at line 889 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::GetLineInfos | ( | mixed | startindex, | |
| mixed | endindex, | |||
| mixed | autowrap_w | |||
| ) | [inline] |
returns lineend(index,onebased),lineh,linew autowrap tries to keep on words intact as long as possible
Definition at line 893 of file lua_pseudo_code.cpp.
| mixed gGlyphListPrototype::VisitGlyphs | ( | mixed | callbackfun, | |
| mixed | param, | |||
| mixed | startindex, | |||
| mixed | endindex, | |||
| mixed | autowrap_w, | |||
| mixed | halign, | |||
| mixed | valign | |||
| ) | [inline] |
halign : horizontal text alignment valign : how to align bigger/smaller glyphs inside a line vertically callbackfun(x,y,glyph,glyphindex,param),param,startindex=1,endindex=?,autowrap_w=nil,halign=kGlyphList_HAlign_Left,valign=kGlyphList_LineVAlign_Bottom
Definition at line 898 of file lua_pseudo_code.cpp.
1.5.6