Method Cairo.Context()->get_current_point()


Method get_current_point

array(float) get_current_point()

Description

Gets the current point of the current path, which is conceptually the final point reached by the path so far.

The current point is returned in the user-space coordinate system. If there is no defined current point or if the context is in an error status, both returned coordinates will be 0.0. It is possible to check this in advance with has_current_point().

Returns

an array with the current x and y coordinates