Inheritance diagram for text_painter:

Public Types | |
| typedef const std::string & | param0 |
| typedef const font_info & | param1 |
Public Member Functions | |
| text_painter (const std::string &str, const font_info &info) | |
| text_painter * | clone () const |
| void | draw (HDC hDC, int cx, int cy) |
| void | text (const std::string &str) |
| std::string | text () const |
| void | info (const font_info &info) |
| font_info | info () const |
| void | draw_text_options (unsigned flags) |
| unsigned | draw_text_options () const |
| int | last_used_text_height () const |
| virtual bool | is_opaque (int cx, int cy) const |
|
|
Returns the additional flags for DrawText().
|
|
|
Sets additional flags for DrawText() . The text is drawn with DrawText(). This function sets additional flags passed to DrawText(). Note: The font size is calculated by providing DT_WORDBREAK and DT_CALCRECT to DrawText() so some flags can't be used (take a look at MSDN) |
|
|
Returns the font_info.
|
|
|
Sets the font_info.
|
|
|
Returns the last text height used to draw the text.
|
|
|
Returns the string to draw.
|
|
|
Sets the string to draw.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |