annotate dwtest.def @ 909:c092eab43ae3

Experimental change to pixmap rendering. Switch from using NSImage to NSBitmapImageRef to store the image. This is closer to the core backing store used to display images. Using this I was able to avoid using lockFocus on the images and instead set the graphics context manually allowing us to draw directly on the backing image. However NSBitmapImageRef is a more simple format and didn't work with the flipped Y axis... so... I had to perform some voodoo to get the flipping to work with the graphics context. Not sure it is 100% right.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 20 Apr 2011 14:09:00 +0000
parents 2a65fac24053
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
192
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 NAME DWTEST WINDOWAPI
599
2a65fac24053 Spell application correctly
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 192
diff changeset
2
2a65fac24053 Spell application correctly
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 192
diff changeset
3 DESCRIPTION 'Sample DW application'
192
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4
d946e329670c Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 STACKSIZE 128000