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