DWRITE_HIT_TEST_METRICS Structure
Describes the region obtained by a hit test.
Syntax
struct DWRITE_HIT_TEST_METRICS {
UINT32 textPosition;
UINT32 length;
FLOAT left;
FLOAT top;
FLOAT width;
FLOAT height;
UINT32 bidiLevel;
BOOL isText;
};
Mitglieder
textPosition
The first text position within the hit region.length
The number of text positions within the hit region.left
The x-coordinate of the upper-left corner of the hit region.top
The y-coordinate of the upper-left corner of the hit region.width
The width of the hit region.height
The height of the hit region.bidiLevel
The BIDI level of the text positions within the hit region.isText
true if the hit region contains text; otherwise, false.
Anforderungen
Mindestens unterstützter Client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 |
Header |
Dwrite.h |