![]() |
|
A font. More...
Public Member Functions | |
HRESULT | GetBoundsMultiLine ([in]ISkpView *pView,[in] BSTR text,[out, retval] ISkpBoundingBox3d **ppBox) |
Returns the bounds for the given text. | |
Properties | |
long | PointSize [get] |
[propget] What is point size of this font? | |
BSTR | FontFace [get] |
[propget] Returns the font face for this font. | |
BOOL | Bold [get] |
[propget] Returns whether or not the font is in bold. | |
BOOL | Italic [get] |
[propget] Returns whether or not the font is in italics. | |
double | WorldSize [get] |
[propget] Returns whether the world size of the font | |
BOOL | UseWorldSize [get] |
[propget] Returns whether the font is world size. |
A font.
HRESULT ISkpFont::GetBoundsMultiLine | ( | [in] ISkpView * | pView, | |
[in] BSTR | text, | |||
[out, retval] ISkpBoundingBox3d ** | ppBox | |||
) |
Returns the bounds for the given text.
pView | The non-NULL view to use to compute the bounds of the given text. | |
text | The text to be drawn. |
ppBox | The 3d bounding box containing the text drawn with this font. |
BOOL ISkpFont::Bold [get] |
[propget] Returns whether or not the font is in bold.
pVal | TRUE iff the font is bold. |
BSTR ISkpFont::FontFace [get] |
[propget] Returns the font face for this font.
pVal | The font's face. |
BOOL ISkpFont::Italic [get] |
[propget] Returns whether or not the font is in italics.
pVal | TRUE iff the font is in italics. |
long ISkpFont::PointSize [get] |
[propget] What is point size of this font?
pVal | The font's point size. |
BOOL ISkpFont::UseWorldSize [get] |
[propget] Returns whether the font is world size.
pVal | TRUE iff the font is world size. Otherwise it uses the PointSize property. |
double ISkpFont::WorldSize [get] |
[propget] Returns whether the world size of the font
pVal | The world size (in inches) of the font. Use this only if the UseWorldSize property is TRUE. Otherwise use the Pointsize property. |
©2010 Google - Google Home - About Google |