Method | Description | |
---|---|---|
IsEmptyPixel ( BitmapData bitmapData, int x, int y ) : bool |
Returns true if the given pixel is empty (i.e. black)
|
|
PrepareFinalBitmapSize ( |
prepare final bitmap's size.
|
|
PrepareInitialGlyphDict ( |
Get glyph's size by graphics.MeasureString(). Then shrink glyph's size. xoffset now means offset in a single glyph's bitmap.
|
|
PrintBitmap ( |
Print the final bitmap that contains all glyphs. And also setup glyph's xoffset, yoffset.
|
|
RetargetGlyphRectangleInwards ( BitmapData bitmapData, |
shrink glyph's width to fit in exactly.
|