diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-13 12:56:44 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-13 12:56:44 -0400 |
| commit | d75187c82a6fb48e06ce3c470a525b714153f2c9 (patch) | |
| tree | c5d215927f48c6379103a1b7abb768689ce5367a | |
| parent | 40fae4952100002531c4e7ab8b059dc48c31c113 (diff) | |
Updated Area planning to indicate to Cocoa that alpha values are not premultiplied.
| -rw-r--r-- | areaplan.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/areaplan.md b/areaplan.md index b085aa9..b7e705b 100644 --- a/areaplan.md +++ b/areaplan.md @@ -127,6 +127,7 @@ func our_drawRect(self C.id, rect C.struct_xrect) { hasAlpha:YES isPlanar:NO colorSpaceName:NSCalibratedRGBColorSpace // TODO NSDeviceRGBColorSpace? + bitmapFormat:NSAlphaNonpremultipliedBitmapFormat bytesPerRow:i.Stride bitsPerPixel:32] [bitmap drawAtPoint:NSMakePoint(cliprect.x, cliprect.y)] |
