RetroArch
|
Data for a single glyph from GetGlyphImageData. More...
#include <dwrite_3.h>
Public Member Functions | |
_Field_size_bytes_ (imageDataSize) void const *imageData | |
Pointer to the glyph data, be it SVG, PNG, JPEG, TIFF. More... | |
Public Attributes | |
UINT32 | imageDataSize |
Size of glyph data in bytes. More... | |
UINT32 | uniqueDataId |
Unique identifier for the glyph data. Clients may use this to cache a parsed/decompressed version and tell whether a repeated call to the same font returns the same data. More... | |
UINT32 | pixelsPerEm |
Pixels per em of the returned data. For non-scalable raster data (PNG/TIFF/JPG), this can be larger or smaller than requested from GetGlyphImageData when there isn't an exact match. For scaling intermediate sizes, use: desired pixels per em * font em size / actual pixels per em. More... | |
D2D1_SIZE_U | pixelSize |
Size of image when the format is pixel data. More... | |
D2D1_POINT_2L | horizontalLeftOrigin |
Left origin along the horizontal Roman baseline. More... | |
D2D1_POINT_2L | horizontalRightOrigin |
Right origin along the horizontal Roman baseline. More... | |
D2D1_POINT_2L | verticalTopOrigin |
Top origin along the vertical central baseline. More... | |
D2D1_POINT_2L | verticalBottomOrigin |
Bottom origin along vertical central baseline. More... | |
Data for a single glyph from GetGlyphImageData.
DWRITE_GLYPH_IMAGE_DATA::_Field_size_bytes_ | ( | imageDataSize | ) | const |
Pointer to the glyph data, be it SVG, PNG, JPEG, TIFF.
D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::horizontalLeftOrigin |
Left origin along the horizontal Roman baseline.
D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::horizontalRightOrigin |
Right origin along the horizontal Roman baseline.
UINT32 DWRITE_GLYPH_IMAGE_DATA::imageDataSize |
Size of glyph data in bytes.
D2D1_SIZE_U DWRITE_GLYPH_IMAGE_DATA::pixelSize |
Size of image when the format is pixel data.
UINT32 DWRITE_GLYPH_IMAGE_DATA::pixelsPerEm |
Pixels per em of the returned data. For non-scalable raster data (PNG/TIFF/JPG), this can be larger or smaller than requested from GetGlyphImageData when there isn't an exact match. For scaling intermediate sizes, use: desired pixels per em * font em size / actual pixels per em.
UINT32 DWRITE_GLYPH_IMAGE_DATA::uniqueDataId |
Unique identifier for the glyph data. Clients may use this to cache a parsed/decompressed version and tell whether a repeated call to the same font returns the same data.
D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::verticalBottomOrigin |
Bottom origin along vertical central baseline.
D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::verticalTopOrigin |
Top origin along the vertical central baseline.