Beispiel #1
0
void Context2D::fill()
{
    beginPainting();
    m_painter.fillPath(m_path, m_painter.brush());
    scheduleChange();
}
Beispiel #2
0
void Context2D::clear()
{
    beginPainting();   
    m_painter.fillRect(QRect(QPoint(0,0), size()), m_state.fillStyle);
    scheduleChange();
}
Beispiel #3
0
void Context2D::clear()
{
    endPainting();
    m_image.fill(qRgba(0,0,0,0));
    scheduleChange();
}
Beispiel #4
0
void PHIContext2D::fill()
{
    beginPainting();
    _painter.fillPath( _path, _painter.brush() );
    scheduleChange();
}