mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 08:51:03 +00:00
Allow the handling of pre-multiplied bitmaps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26044 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0087a1679b
commit
f9442133c5
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-02-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/art/ARTContext.m (-GSDrawImage:): Hack to allow the
|
||||||
|
handling of pre-multiplied bitmaps.
|
||||||
|
|
||||||
2008-01-31 Fred Kiefer <FredKiefer@gmx.de>
|
2008-01-31 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Tools/win32pbs.m: Use event polling code from WIN32Server.m.
|
* Tools/win32pbs.m: Use event polling code from WIN32Server.m.
|
||||||
|
|
|
@ -179,3 +179,14 @@ static int byte_order(void)
|
||||||
[(ARTGState *)gstate GSCurrentDevice: device : x : y];
|
[(ARTGState *)gstate GSCurrentDevice: device : x : y];
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@implementation ARTContext (Ops)
|
||||||
|
|
||||||
|
- (void) GSDrawImage: (NSRect) rect: (void *) imageref
|
||||||
|
{
|
||||||
|
// Hack until Art is able to handle premultiplied images
|
||||||
|
[imageref _unpremultiply];
|
||||||
|
[super GSDrawImage: rect : imageref];
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue