PieDock
1.6.3
|
#include <Text.h>
Classes | |
class | Color |
class | Font |
class | Metrics |
Public Member Functions | |
Text (Display *, Drawable, Visual *, Font) | |
virtual void | setColor (const Color) |
virtual void | draw (const int, const int, const std::string) const |
virtual Metrics | getMetrics (const std::string) const |
Text output
Text::Text | ( | Display * | d, |
Drawable | da, | ||
Visual * | v, | ||
Text::Font | f | ||
) |
|
virtual |
Draw a string into canvas
x | - x position |
y | - y position |
s | - string to write |
Referenced by PieDock::PieMenuWindow::updateWithText().
|
virtual |
Determine metrics of given string
s | - some string |
Referenced by PieDock::PieMenuWindow::updateWithText().
|
virtual |