ID3DX10Font::GetGlyphData method
Return information about the placement and orientation of a glyph in a character cell.
HRESULT GetGlyphData(
[in] UINT Glyph,
[out] ID3D10ShaderResourceView **ppTexture,
[in] RECT *pBlackBox,
[in] POINT *pCellInc
);
-
Glyph [in]
-
Type: UINT
Glyph identifier.
-
ppTexture [out]
-
Type: ID3D10ShaderResourceView**
Address of a pointer to a ID3D10Texture object that contains the glyph.
-
pBlackBox [in]
-
Type: RECT*
Pointer to the smallest rectangle object that completely encloses the glyph. See RECT.
-
pCellInc [in]
-
Type: POINT*
Pointer to the two-dimensional vector that connects the origin of the current character cell to the origin of the next character cell. See POINT.
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.
Requirement | Value |
---|---|
Header |
|
Library |
|