ungerik / go-cairo

Go binding for the cairo graphics library
Other
146 stars 33 forks source link

add GetCurrentPoint and HasCurrentPoint #18

Closed bit101 closed 6 years ago

bit101 commented 6 years ago

This adds hooks to C.cairo_get_current_point and C.cairo_has_current_point. These are vital for creating certain paths that are calculated from the current point, such as QuadraticCurveTo, which is not natively included in cairo.