Hi Eric,

Indeed simple DrawString at PointF does what I need :)

Can't rememeber why I ever thought that I needed CoreText :(

Thank you so much!

Guido


On 28 January 2014 17:54, Eric J. M. Smith <e...@tarkvara.org> wrote:
>
> On 28-Jan-2014, at 03:49 , Guido Van Hoecke wrote:
>
>> 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 :(
>
> You pass DrawString() either a PointF to draw at or a RectangleF to draw at a 
> specific place in the current CGContext.
>
> I was a little surprised that Apple added drawing methods to their basic 
> string classes (there's a bunch of NSString.DrawString methods too).  It 
> seems like an odd design choice.  But I'm not complaining, the methods work.  
> And they're a whole lot simpler than using CoreText.
>
> Good luck,
>
> E.
>
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to