Go to file
senorblanco@chromium.org 60eaa398eb SkPath::arcTo() will cause uninitialized memory reads in the following cases:
- when the previous point in the path and (x1, y1) are coincident
- when (x1, y1) and (x2, y2) are coincident

These cause the setNormalize() calls to leave the "before" and "after" vectors
uninitialized, respectively, which are then used to compute cosh and sinh.

I chose to implement HTML5 canvas behaviour for these cases (as well as for the
case where all three points are collinear):  add a line to the first point, and
bail.  I think this is ok, since skia is mostly used for HTML5 browsers, and
this case is degenerate anyway.

Review URL:  http://codereview.appspot.com/2484041



git-svn-id: http://skia.googlecode.com/svn/trunk@603 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-10-13 18:47:00 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "Use hairline when line width <= 1.0, instead of < 1.0."" 2010-04-27 15:47:34 +00:00
experimental convert matrix <--> matrix44 2010-03-01 14:54:05 +00:00
forth more unittests (already found/fixed some bugs) 2009-09-02 02:07:32 +00:00
gm use genericRGB space to ensure that we decode exactly the pixels we encode 2009-07-08 02:54:47 +00:00
include High level pdf classes and pdf specific interface. 2010-10-12 23:08:13 +00:00
samplecode fix matrix use in coretext fonthost 2010-07-22 18:27:53 +00:00
src SkPath::arcTo() will cause uninitialized memory reads in the following cases: 2010-10-13 18:47:00 +00:00
tests High level pdf classes and pdf specific interface. 2010-10-12 23:08:13 +00:00
third_party/harfbuzz add 2010-04-08 18:48:12 +00:00
tools add png to makefile for linux 2010-04-15 14:28:24 +00:00
vs add new file 2009-12-21 18:34:13 +00:00
xcode move SkMallocPixelRef into its own .cpp file, rather than embedding it 2010-09-09 16:07:53 +00:00
configure.ac Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
Makefile Initial PDF backend commit: directories, build rules, primitives 2010-09-24 22:25:30 +00:00
Makefile.am Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
README Add a basic README file. 2009-01-13 22:01:54 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

- 3x3 matrices w/ perspective
- antialiasing, transparency, filters
- shaders, xfermodes, maskfilters, patheffects