#include <draw.h>
Inheritance diagram for PlacementCmd:

Public Member Functions | |
| virtual std::string | args () |
| Command export to text string. Needed for macro saving. | |
Protected Member Functions | |
| PlacementCmd (FrameBuffer *pFB, Rect &placement, DrawContext &dc, bool bBack) | |
| PlacementCmd (FrameBuffer *pFB, const std::string &args) | |
| void | impressBrush (Point pos) |
Protected Attributes | |
| int | _iBrushWidth |
| Round brush radius. | |
| Pixel | _brushColor |
| Brush color. | |
| Rect | _place |
| Placement of derived command. | |
Definition at line 123 of file draw.h.
| PlacementCmd::PlacementCmd | ( | FrameBuffer * | pFB, | |
| Rect & | placement, | |||
| DrawContext & | dc, | |||
| bool | bBack | |||
| ) | [protected] |
Initialize base.
| pFB | Pointer to framebuffer to work with. | |
| placement | Command placement. | |
| dc | Current draw context. | |
| bBack | Give true to use background brush. |
| PlacementCmd::PlacementCmd | ( | FrameBuffer * | pFB, | |
| const std::string & | args | |||
| ) | [protected] |
Import placement command.
| pFB | Pointer to frame buffer to work with. | |
| args | Data to import -- previously returned by PlacementCmd::args() method. |
| virtual std::string PlacementCmd::args | ( | ) | [virtual] |
| void PlacementCmd::impressBrush | ( | Point | pos | ) | [protected] |
Impress round brush at selected positon.
| pos | Position of up-left corner of brush. |
int PlacementCmd::_iBrushWidth [protected] |
Pixel PlacementCmd::_brushColor [protected] |
Rect PlacementCmd::_place [protected] |
1.5.2