Mercurial > dwindows
changeset 1590:9eef6f82ee50
Comment cleanup in the Mac source.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 30 Jan 2012 17:36:12 +0000 |
parents | 9a21fbd6ae50 |
children | c5e210e04dce |
files | mac/dw.m |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Mon Jan 30 08:15:16 2012 +0000 +++ b/mac/dw.m Mon Jan 30 17:36:12 2012 +0000 @@ -6909,16 +6909,16 @@ graphicsContextWithGraphicsPort:[[NSGraphicsContext graphicsContextWithBitmapImageRep:image] graphicsPort] flipped:YES]]; [[[NSDictionary alloc] initWithObjectsAndKeys:image, NSGraphicsContextDestinationAttributeName, nil] autorelease]; - // make a new transform: + /* Make a new transform */ NSAffineTransform *t = [NSAffineTransform transform]; - // by scaling Y negatively, we effectively flip the image: + /* By scaling Y negatively, we effectively flip the image */ [t scaleXBy:1.0 yBy:-1.0]; - // but we also have to translate it back by its height: + /* But we also have to translate it back by its height */ [t translateXBy:0.0 yBy:-size.height]; - // apply the transform: + /* Apply the transform */ [t concat]; [tmpimage drawAtPoint:NSMakePoint(0, 0) fromRect:NSMakeRect(0, 0, size.width, size.height) operation:NSCompositeSourceOver fraction:1.0];