[cairo-bugs] [Bug 5816] Image surfaces do not start out blank by default

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 5 11:23:01 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5816          
     




------- Additional Comments From cinamod at hotmail.com  2006-02-06 06:18 -------
I'm weary that the solution I'll be told (and the workaround already posted in
that librsvg bug) is "use CAIRO_OPERATOR_CLEAR and cairo_paint(). But I'd like
to preempt that if possible. I think that the metaphor cairo should follow is as
follows:

An artist asks her friend for a sheet of paper to draw on. At this point, the
friend can do one of two things:

1) Give the artist back a clean sheet of paper (zero the pixels by default)
2) Give the artist back a piece of paper with complete with scribbles done by
her 2-year old daughter, and a bottle of white out (CAIRO_OPERATOR_CLEAR,
cairo_paint()). Caveat emptor.

I think if this is an appropriate analogy, #1 is clearly correct and #2 would
(deservedly) get a blank stare from the artist.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list