I'm trying to use CGBitmapContextCreate to render text to bits.
It works (i get my rendered text) but then everything falls apart like I have heap corruption. Different crash every attempt.
The same thing that happened when I tried writing to the screen outside of drawRect (a year ago).
I know this is an interaction between the Cocoa framework and Core Graphics.
This render that I'm trying to accomplish has nothing to do with the screen or drawRect so I can't 'do it properly'.
I'm frustrated because this is an image context and it's totally illogical that it would cause problems.
Doe's anybody know what I can do to make this work?
This action is in response to a button press on a dialog box.
Scott Becker
It works (i get my rendered text) but then everything falls apart like I have heap corruption. Different crash every attempt.
The same thing that happened when I tried writing to the screen outside of drawRect (a year ago).
I know this is an interaction between the Cocoa framework and Core Graphics.
This render that I'm trying to accomplish has nothing to do with the screen or drawRect so I can't 'do it properly'.
I'm frustrated because this is an image context and it's totally illogical that it would cause problems.
Doe's anybody know what I can do to make this work?
This action is in response to a button press on a dialog box.
Scott Becker