We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feedb7f commit fd124d7Copy full SHA for fd124d7
1 file changed
src/ResourceFile.cc
@@ -2352,9 +2352,9 @@ class QuickDrawResourceDasmPort : public QuickDrawPortInterface {
2352
2353
ImageRGBA8888N& image() {
2354
if (this->img.empty()) {
2355
- // PICTs are rendered into an initially white field, so we fill the canvas
2356
- // with white in case the PICT doesn't actually write all the pixels.
2357
- this->img = ImageRGBA8888N(this->bounds.width(), this->bounds.height(), 0xFFFFFFFF);
+ // Initialize with transparent so undrawn areas blend with background,
+ // matching classic Mac DrawPicture behavior.
+ this->img = ImageRGBA8888N(this->bounds.width(), this->bounds.height(), 0x00000000);
2358
}
2359
return this->img;
2360
0 commit comments