图形绘制接口
更多...
#include <GraphInterface.h>
图形绘制接口
图形绘制接口,用于绘制图形,提供绘制区域的接口
◆ GraphInterface()
| GFt::GraphInterface::GraphInterface |
( |
iRect | rect | ) |
|
◆ ~GraphInterface()
| GFt::GraphInterface::~GraphInterface |
( |
| ) |
|
|
virtual |
◆ onDraw()
| virtual void GFt::GraphInterface::onDraw |
( |
Graphics & | g | ) |
|
|
protectedpure virtual |
绘制接口
- 参数
-
在 GFt::Block, GFt::ColumnLayout, GFt::GridLayout, GFt::RowLayout, GFt::Widget::Button, GFt::Widget::CheckBox, GFt::Widget::HScrollBar, GFt::Widget::HSlider, GFt::Widget::Label, GFt::Widget::RadioBox, GFt::Widget::VScrollBar , 以及 GFt::Widget::VSlider 内被实现.
◆ rect()
| const iRect & GFt::GraphInterface::rect |
( |
| ) |
const |
◆ setHeight()
| void GFt::GraphInterface::setHeight |
( |
int | height | ) |
|
◆ setPosition()
| void GFt::GraphInterface::setPosition |
( |
const iPoint & | pos | ) |
|
◆ setRect()
| void GFt::GraphInterface::setRect |
( |
const iRect & | rect | ) |
|
◆ setSize()
| void GFt::GraphInterface::setSize |
( |
const iSize & | size | ) |
|
◆ setWidth()
| void GFt::GraphInterface::setWidth |
( |
int | width | ) |
|
◆ setX()
| void GFt::GraphInterface::setX |
( |
int | x | ) |
|
◆ setY()
| void GFt::GraphInterface::setY |
( |
int | y | ) |
|
◆ onPositionChanged
| Signal<const iPoint&> GFt::GraphInterface::onPositionChanged |
◆ onSizeChanged
| Signal<const iSize&> GFt::GraphInterface::onSizeChanged |