[cairo] is self-copy supposed to work?

Behdad Esfahbod behdad at behdad.org
Fri Apr 30 12:11:16 PDT 2010


On 04/30/2010 03:08 PM, Jonathan Morton wrote:
> There's a design decision to be made here.  Does Cairo only ever do
> what the user explicitly requests, or does it attempt to divine what
> the user means to do?  The latter is what *you* want, and many would
> agree with you, but the exact boundaries of that divination need to be
> specified carefully so as not to leave further bugs or undefined
> loopholes.

Cairo's API is supposed to be user-friendly.  Implementation details come
after.  From a conceptual point of view self-copy is a very well-defined
operation.  Why should the user care how far cairo has to go to implement it?
 OpenGL is definitely the wrong API to compare cairo to.

behdad


More information about the cairo mailing list