Skip navigation.
 
mlRe: NSView out of memory problem
FROM : Matthew Whillock
DATE : Wed Apr 02 09:45:38 2008

Hi Graham,

Yes, you're right. Moments after I sent my email I found the right 
tree to bark up.

Cheers,
Matt

On 2 Apr 2008, at 00:05, Graham Cox wrote:

> As I said, it says nothing about how it's implemented. Chances are, 
> it will avoid creation of an unnecessary NSBezierPath object, but 
> relying on that being the case is folly.
>
>
> On 2 Apr 2008, at 2:23 am, Matthew Whillock wrote:

>> The class reference has this to say about it:
>>
>> Strokes a line between two points using the current stroke color 
>> and the default drawing attributes.
>> + (void)strokeLineFromPoint:(NSPoint)point1 toPoint:(NSPoint)point2
>>
>>
>> So it will just draw a line.
>>
>> Cheers,
>> Matt
>>
>>

>>> Are you sure? This could be just a convenient interface for 
>>> creating a
>>> bezier object with the points passed, stroking it and releasing or
>>> autoreleasing it. The docs say nothing about how it's implemented.

>>


--
Matthew Whillock
<email_removed>

Mullard Space Science Laboratory
Holmbury St Mary
Surrey RH5 6NT
UK

Related mailsAuthorDate
mlNSView out of memory problem Leslie Smith Apr 1, 14:40
mlRe: NSView out of memory problem Matt Gough Apr 1, 14:50
mlRe: NSView out of memory problem Jean-Daniel Dupas Apr 1, 15:09
mlRe: NSView out of memory problem Graham Cox Apr 1, 15:17
mlRe: NSView out of memory problem Matthew Whillock Apr 1, 15:18
mlRe: NSView out of memory problem Graham Cox Apr 1, 15:36
mlRe: NSView out of memory problem Gorazd Krosl Apr 1, 15:43
mlRe: NSView out of memory problem Jean-Daniel Dupas Apr 1, 15:57
mlRe: NSView out of memory problem Matthew Whillock Apr 1, 17:23
mlRe: NSView out of memory problem Andre Schnoor Apr 1, 17:27
mlRe: NSView out of memory problem Graham Cox Apr 2, 01:05
mlRe: NSView out of memory problem Matthew Whillock Apr 2, 09:45
mlRe: NSView out of memory problem Andre Schnoor Apr 2, 10:51