simple_create_path


Description:

[ NoWrapper ]
public virtual void simple_create_path (Context cr)

simple subclasses that draw basic shapes and paths only need to override this one method.

It creates the path for the item. All updating, painting and hit-testing is provided automatically by the CanvasItemSimple class. (This method is used by the builtin CanvasEllipse, CanvasRect and CanvasPath items.) More complicated subclasses must override simple_update, simple_paint and simple_is_item_at instead.