SPH
|
Public Member Functions | |
FlippedRenderContext (AutoPtr< IRenderContext > &&context) | |
virtual Pixel | size () const override |
Returns the size of the canvas associated with the context. More... | |
virtual void | setColor (const Rgba &color, const Flags< ColorFlag > flags) override |
Selects the color for one or more drawing modes. More... | |
virtual void | setThickness (const float thickness) override |
Modifies the thickness of the lines. More... | |
virtual void | setFontSize (const int fontSize) override |
virtual void | fill (const Rgba &color) override |
Fills the whole canvas with given color. More... | |
virtual void | drawLine (const Coords p1, const Coords p2) override |
Draws a line connecting two points. More... | |
virtual void | drawCircle (const Coords center, const float radius) override |
Draws a circle, given its center and a radius. More... | |
virtual void | drawTriangle (const Coords, const Coords, const Coords) override |
Draws a triangle given three points. More... | |
virtual void | drawBitmap (const Coords, const Bitmap< Rgba > &) override |
Draws a bitmap, given the position of its left-top corner. More... | |
virtual void | drawText (const Coords p, const Flags< TextAlign >, const std::string &s) override |
virtual void | drawText (const Coords p, const Flags< TextAlign >, const std::wstring &s) override |
![]() | |
virtual Array< IRenderOutput::Label > | getLabels () const |
![]() | |
virtual | ~Polymorphic () |
Definition at line 18 of file PaletteDialog.cpp.
|
inlineexplicit |
Definition at line 23 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Draws a bitmap, given the position of its left-top corner.
Implements IRenderContext.
Definition at line 59 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Draws a circle, given its center and a radius.
Implements IRenderContext.
Definition at line 51 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Draws a line connecting two points.
Implements IRenderContext.
Definition at line 47 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Implements IRenderContext.
Definition at line 63 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Implements IRenderContext.
Definition at line 67 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Draws a triangle given three points.
Implements IRenderContext.
Definition at line 55 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Fills the whole canvas with given color.
This erases any previous content.
Implements IRenderContext.
Definition at line 43 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Selects the color for one or more drawing modes.
Implements IRenderContext.
Definition at line 31 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Implements IRenderContext.
Definition at line 39 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Modifies the thickness of the lines.
Implements IRenderContext.
Definition at line 35 of file PaletteDialog.cpp.
|
inlineoverridevirtual |
Returns the size of the canvas associated with the context.
Implements IRenderContext.
Definition at line 26 of file PaletteDialog.cpp.