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 }