OGLFont documentation
constants:
bold = 1
italic = 4
normal = 0
overstrike = 16
roman = 2
underline = 8
no attributes
Methods
|
|
|
|
OGLFont
|
OGLFont (
self,
name,
size,
style,
)
OGLFont(std::string name, int size, int style) -> OGLFont
OGLFont constructor documentation.
|
|
__hash__
|
__hash__ ( self )
arguments/return value unknown
hash instance
|
|
cleanup
|
cleanup ( self )
cleanup()
cleanup documentation.
|
|
draw
|
draw (
self,
str,
len,
)
draw(std::string str, int len)
draw documentation.
|
|
height
|
height (
self,
str,
len,
)
height(std::string str, int len) -> float
height documentation.
|
|
name
|
name ( self )
name() -> otf::Symbol
name documentation.
|
|
setColor
|
setColor (
self,
r,
b,
g,
a,
)
setColor(float r, float b, float g, float a)
setColor documentation.
|
|
setup
|
setup ( self )
setup()
setup documentation.
|
|
size
|
size ( self )
size() -> int
size documentation.
|
|
style
|
style ( self )
style() -> int
style documentation.
|
|
valid
|
valid ( self )
valid() -> bool
valid documentation.
|
|
width
|
width (
self,
str,
len,
)
width(std::string str, int len) -> float
width documentation.
|
|