Creates a new Context with all graphics state parameters set
to default values and with target as a target surface. The
target surface should be constructed with a backend-specific
function such as newImageSurface().
This function references target, so you can immediately call
Surface.dispose() on it if you don't need to maintain
a separate reference to it.
Creates a new Context with all graphics state parameters set to default values and with target as a target surface. The target surface should be constructed with a backend-specific function such as new ImageSurface().
This function references target, so you can immediately call Surface.dispose() on it if you don't need to maintain a separate reference to it.