RetroArch
Public Member Functions | Public Attributes | List of all members
DWRITE_GLYPH_IMAGE_DATA Struct Reference

Data for a single glyph from GetGlyphImageData. More...

#include <dwrite_3.h>

Collaboration diagram for DWRITE_GLYPH_IMAGE_DATA:
[legend]

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...
 

Detailed Description

Data for a single glyph from GetGlyphImageData.

Member Function Documentation

◆ _Field_size_bytes_()

DWRITE_GLYPH_IMAGE_DATA::_Field_size_bytes_ ( imageDataSize  ) const

Pointer to the glyph data, be it SVG, PNG, JPEG, TIFF.

Member Data Documentation

◆ horizontalLeftOrigin

D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::horizontalLeftOrigin

Left origin along the horizontal Roman baseline.

◆ horizontalRightOrigin

D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::horizontalRightOrigin

Right origin along the horizontal Roman baseline.

◆ imageDataSize

UINT32 DWRITE_GLYPH_IMAGE_DATA::imageDataSize

Size of glyph data in bytes.

◆ pixelSize

D2D1_SIZE_U DWRITE_GLYPH_IMAGE_DATA::pixelSize

Size of image when the format is pixel data.

◆ pixelsPerEm

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.

◆ uniqueDataId

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.

◆ verticalBottomOrigin

D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::verticalBottomOrigin

Bottom origin along vertical central baseline.

◆ verticalTopOrigin

D2D1_POINT_2L DWRITE_GLYPH_IMAGE_DATA::verticalTopOrigin

Top origin along the vertical central baseline.


The documentation for this struct was generated from the following file: