[Mono-bugs] [Bug 650334] NSString UIKit Additions are not bound

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 4 11:52:04 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=650334

https://bugzilla.novell.com/show_bug.cgi?id=650334#c2


--- Comment #2 from Mike Bluestein <mike.bluestein at gmail.com> 2010-11-04 15:52:03 UTC ---
(In reply to comment #1)
> We placed those on the UIView, it seems like we need to put these on a few
> extra classes.   Can you tell me how you created the graphics context backed by
> the PDF store?

NSData CreatePDF (string text, float w, float h)
{
    NSMutableData data = new NSMutableData ();
    UIGraphics.BeginPDFContext (data, new RectangleF (0, 0, w, h), null);
    UIGraphics.BeginPDFPage ();
    CGContext gctx = UIGraphics.GetCurrentContext ();

    //draw text here ...

    UIGraphics.EndPDFContent ();
    return data;
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list