Mercurial > dwindows
view mac/finishup.sh @ 1527:9bab702bd6c1
A bunch of Mac drawing updates to correct issues and improve performance.
Switched to using a different (faster) method for drawing rectangles.
Fixed subpixel drawing issues related to the fact that drawing occurs centered on the coordinate so adding 0.5 draws at a pixel itself instead of spanning two pixels.
And related to that removing the incorrect workaround I had previously used of setting the line width to 0.5.
Also added DW_DRAW_NOAA support when drawing to windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 03 Jan 2012 15:59:00 +0000 |
parents | 6382fd88b49a |
children | 1a196ada0bc9 |
line wrap: on
line source
#!/bin/sh PLATFORM=`uname -s` if [ $PLATFORM = "Darwin" ] then mkdir -p dwtest.app/Contents/MacOS mkdir -p dwtest.app/Contents/Resources cp -f $1/mac/Info.plist dwtest.app/Contents cp -f $1/mac/PkgInfo dwtest.app/Contents cp -f dwtest dwtest.app/Contents/MacOS fi