Guest User

Untitled

a guest
May 27th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. CGContextRef myContext = UIGraphicsGetCurrentContext();
  2. CGContextSetRGBFillColor(myContext, 0,0,0,1);
  3. CGContextSelectFont (myContext, "Times-Bold", 10, kCGEncodingMacRoman);
  4. CGContextSetTextDrawingMode (myContext, kCGTextFill);
  5. CGContextShowTextAtPoint (myContext, 20, 0, "ABCD",4);
Add Comment
Please, Sign In to add comment