Creates a cairo context, initialized with the default canvas settings.
Note that this context should not be used for drawing. It should only be used for calculating bounds of items.
this |
a Canvas. |
a new cairo context. It should be freed with |