rasterize

abstract fun rasterize(contentScale: Double, bitmap: MPPBuffer, stride: Int, subpixel: Boolean)(source)

Rasterize the glyph at the face's size

Since

0.4.3

Parameters

contentScale

the content scale at which to rasterize

bitmap

a MPPBuffer positioned at the top left corner of the glyph

stride

the stride (width) of the bitmap buffer

subpixel

should subpixel rendering be used?