|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::UTextContext::CStringInfo Struct ReferenceThe render size of a string.
More...
#include <u_text_context.h>
List of all members.
Detailed Description
The render size of a string.
Definition at line 74 of file u_text_context.h.
Constructor & Destructor Documentation
NL3D::UTextContext::CStringInfo::CStringInfo |
( |
|
) |
[inline] |
|
NL3D::UTextContext::CStringInfo::CStringInfo |
( |
float |
w, |
|
|
float |
h, |
|
|
float |
l |
|
) |
[inline] |
|
Member Function Documentation
void NL3D::UTextContext::CStringInfo::convertTo01Size |
( |
UDriver * |
drv |
) |
|
|
void NL3D::UTextContext::CStringInfo::convertToPixelSize |
( |
UDriver * |
drv |
) |
|
|
Member Data Documentation
float NL3D::UTextContext::CStringInfo::StringHeight
|
|
float NL3D::UTextContext::CStringInfo::StringLine
|
|
|
StringLine is the size from bottom of the whole string image to the hotspot in pixels.
for instance if the hotspot is bottomLeft the imaginary line of the string "bpc" is under the b, under the loop of the p but over the leg of the p. So StringLine is a positive value in this case. It may be a negative value for the string "^" for example.
Definition at line 85 of file u_text_context.h.
Referenced by convertTo01Size, convertToPixelSize, and CStringInfo. |
float NL3D::UTextContext::CStringInfo::StringWidth
|
|
The documentation for this struct was generated from the following files:
|
|