comparison dwt/graphics/Pattern.d @ 155:e91dcbf77cc7

Fixes runtime problems with dmd and ldc. Changed a couple of floats to CGFloat
author Jacob Carlborg <doob@me.com>
date Mon, 06 Jul 2009 21:17:03 +0200
parents 62202ce0039f
children
comparison
equal deleted inserted replaced
154:535243e6d16a 155:e91dcbf77cc7
57 57
58 NSColor color; 58 NSColor color;
59 NSGradient gradient; 59 NSGradient gradient;
60 NSPoint pt1, pt2; 60 NSPoint pt1, pt2;
61 Image image; 61 Image image;
62 float[] color1, color2; 62 CGFloat[] color1, color2;
63 int alpha1, alpha2; 63 int alpha1, alpha2;
64 64
65 /** 65 /**
66 * Constructs a new Pattern given an image. Drawing with the resulting 66 * Constructs a new Pattern given an image. Drawing with the resulting
67 * pattern will cause the image to be tiled over the resulting area. 67 * pattern will cause the image to be tiled over the resulting area.