[Webkit-unassigned] [Bug 20373] <canvas> code needs fewer #ifdefs (part 2)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 15 12:41:57 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20373
vbs85 at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #22798|0 |1
is obsolete| |
------- Comment #2 from vbs85 at gmx.de 2008-08-15 12:41 PDT -------
Created an attachment (id=22823)
--> (https://bugs.webkit.org/attachment.cgi?id=22823&action=view)
Canvas-Clean-up
It doesn't work very well. I submitted it to show the problems.
Cairo and Cg differs in many things and it's difficult to make the
draw-operation plattform-independent.
The main-problem is, that in Cg you set the fill/stroke color to the beginning
and in Cairo short before the draw-operation (because Cairo makes no differnce
between fill and stroke colors).
I tried to re-use the concept of my first idear, but run in to problems by the
fill- and stroke-operation with patterns. strokeRect differs too stroke and
fillRect differs to fill a bit to much. Not sure if the first idear was good
enough, because you have to insert more (sometimes nearly senseless) functions
to GraphicsContext to make it work.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list