BitmapGlyphImage Class
The image a font gives for a glyph (sbix, CBDT, EBDT or bdat tables), decoded at the size of its strike, and where the font places it.
public sealed class BitmapGlyphImage : IDisposableRemarks
The image belongs to the caller: dispose of it, or of this instance.
- Implements
Properties
| Name | Description |
|---|---|
| Image | Gets the decoded image, at the size of its strike: one pixel of the image is one pixel of a text drawn at BitmapGlyphImage.PixelsPerEmX. |
| IsMask | Gets a value indicating whether the font gives the coverage of the pixels only (a bitmap without colors): the image is then black, with the coverage as its opacity, and a text draws it with its own color. |
| Left | Gets the distance from the origin of the glyph to the left of the image, in pixels of the image. |
| PixelsPerEmX | Gets the number of pixels of the image per em, horizontally: the size the strike is made for. |
| PixelsPerEmY | Gets the number of pixels of the image per em, vertically. |
| Top | Gets the distance from the baseline up to the top of the image, in pixels of the image. |
Image
BitmapGlyphImage.csGets the decoded image, at the size of its strike: one pixel of the image is one pixel of a text drawn at BitmapGlyphImage.PixelsPerEmX.
Property value
IsMask
BitmapGlyphImage.csPixelsPerEmX
BitmapGlyphImage.csPixelsPerEmY
BitmapGlyphImage.csMethods
| Name | Description |
|---|---|
| Dispose() | Disposes of the image. |
Dispose()
BitmapGlyphImage.csDisposes of the image.
public void Dispose()