On 27-Jan-2014, at 13:57 , Guido Van Hoecke wrote:

>> I have no idea why only the 'N' gets drawn. Each of the 4 DrawText
>> invocations work fine if they are the only invocation.
>> 
>> I seem to lack some basic understanding.
>> 
>> Basically I want to draw some letters at specific coordinates on the
>> screen, but failed to understand how to achieve this.

Hi Guido,

I had a similar experience trying to label a graph using CoreText.  The first 
label was fine, but subsequent ones were drawn in the wrong place.  I thought 
that I would be safe by bracketing everything inside 
CGContext.SaveState/RestoreState, but that didn't work for me.  Like you, I 
seem to lack some basic understanding.

In the end, I gave up on CoreText, and rewrote my label-drawing code to use 
NSAttributedString.DrawString.  A much simpler API.

Hope that helps,

Eric Smith
Tarkvara Design Inc.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to