On 09/03/15 00:12, Patrick J. Collins wrote:
[_image lockFocus];
[[NSColor blueColor] set];
NSBezierPath *line = [NSBezierPath bezierPath];
NSPoint pointA = NSMakePoint(0, 0);
NSPoint pointB = NSMakePoint(self.bounds.size.width, 0);
I have an NSView which has in its drawRect: method:
NSColor *backgroundColor = [NSColor colorWithPatternImage:self.image];
[backgroundColor setFill];
...
the image method does:
-(NSImage *)image {
if (!_image) {
_image = [[NSImage alloc]
On Mar 8, 2015, at 6:12 PM, Patrick J. Collins patr...@collinatorstudios.com
wrote:
I have an NSView which has in its drawRect: method:
NSColor *backgroundColor = [NSColor colorWithPatternImage:self.image];
[backgroundColor setFill];
...
the image method does:
-(NSImage