
| Graph axis blend color color bar fog freetype light line material node point plot polygon render scene stencil texcoord text texture vertex Utility array bio hdf make math netcdf Auxiliary curl expact sqlite window |
zeTextUse .new("text") to create the object. It uses zeFreetype to generate texture-mapped text. The image can be transfered to an array and later used for texture or rendered as points. :font(object) Sets the Freetype object to be used to generate text bitmap. :fontsize(size) Sets the font size to the specified number of pixels per inch. It should be called before calling the text() function. :text(string) Parses the string and use the results as the text content. The tags of <sym> and </sym> mark the number between them as the Unicode of a character; <sup> and </sup> marks a string as superscript; and <sub> and <sub> makrs a string as subscript. The <sym> and </sym> tags also recognize Greek characters by name. Multi-bytes characters (e.g., Japanese and Chinese) can be used if the font file supports them. The functions returns the image width and height. :set{...} Sets text properties with a Lua table. Valid key-value pairs in the Lua table are listed as follows.
Greek Character Names
|