Hi Eric,

Thanks for your reply.

"Eric J. M. Smith" <[email protected]> writes:

> 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.
>
> 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.

I need to draw text at specific places in a UI(Touch)View and I do not
see how NSAttributedString.DrawString could do that for me :(

So if there's anyone out there who could shed some light on how to use
CoreText to draw text at computed coordinates... please help!

TIA,


Guido

--
Look ere ye leap.
                -- John Heywood
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to