Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Graphics & Imaging > Quartz >

CGContextAddLineToPoint, CGContextAddCurveToPoint, et. al.


Q: Why doesn't CGContextAddLineToPoint draw anything?

A: The CGContextAddXYZ APIs don't draw anything in and of themselves. Instead, they add the specified graphic primitive to the current path. In order to see the results, you must call CGContextStrokePath, or one of the other path drawing functions.


[Jul 02 2001]