[cairo] cairo 1.5.8 API Changes and bindings

Jonathon Jongsma jonathon at quotidian.org
Thu Jan 31 07:15:04 PST 2008


On 1/30/08, Behdad Esfahbod <behdad at behdad.org> wrote:
> Calling get_current_point() without a current point is a real error.
> Though I can see that then it would be useful to have a separate
> has_current_point().  If going the has_current_point() way, we may even
> to move get_current_point() return type back to void but make it put cr
> into error status?  That would break Pango but I don't mind much.  I can
> fix that.

Well, from a bindings point of view, putting the cr into error status
would present the same issue.  If bindings were following the
recommended guidelines about checking error status after every call
and throwing an exception if the object is in error status, this
function would now throw an exception where it didn't previously.

-- 
jonner


More information about the cairo mailing list