openrndr
0.4.5-dev.75+66b30c7
jvm
openrndr-gl3
/
org.openrndr.draw.font
/
GlyphStbTt
Glyph
Stb
Tt
class
GlyphStbTt
(
face
:
FaceStbTt
,
character
:
Char
,
glyphIndex
:
Int
)
:
Glyph
(
source
)
Members
Constructors
Glyph
Stb
Tt
Link copied to clipboard
constructor
(
face
:
FaceStbTt
,
character
:
Char
,
glyphIndex
:
Int
)
Functions
advance
Width
Link copied to clipboard
open
override
fun
advanceWidth
(
scale
:
Double
)
:
Double
bitmap
Bounds
Link copied to clipboard
open
override
fun
bitmapBounds
(
scale
:
Double
,
subpixel
:
Boolean
)
:
IntRectangle
bounds
Link copied to clipboard
open
override
fun
bounds
(
scale
:
Double
)
:
Rectangle
left
Side
Bearing
Link copied to clipboard
open
override
fun
leftSideBearing
(
scale
:
Double
)
:
Double
rasterize
Link copied to clipboard
open
override
fun
rasterize
(
scale
:
Double
,
bitmap
:
MPPBuffer
,
stride
:
Int
,
subpixel
:
Boolean
)
shape
Link copied to clipboard
open
override
fun
shape
(
scale
:
Double
)
:
Shape
top
Side
Bearing
Link copied to clipboard
open
override
fun
topSideBearing
(
scale
:
Double
)
:
Double