コード例 #1
0
ファイル: adobe_surface.cpp プロジェクト: chenhbzl/BooxApp
void AdobeSurfacePrivate::clear()
{
#ifndef USE_PIXMAP
    if (image_.format() == QImage::Format_Indexed8)
    {
        image_.setColorTable(COLOR_TABLE);
    }
    image_.fill( QColor(255, 255, 255).rgb( ));
#else
    image_.fill();
#endif
}