Go to file
reed@google.com 848148ec10 Fix bug in cubic-clipper (SkEdgeClipper). When we chop the cubic on Top/Bottom
of the cliprect, we (correctly) clamp the Y coordinate of the control-point
right next to the on-curve point that was chopped (this ensures we don't go
slightly outside of the clip-rect due to imperfect T value calculation). However,
the code was also clamping the other control-point as well, resulting in warping
the cubic, which could sometimes force it outside of the clip.

The fix is to just remove the line of code that clampped the 2nd control-point.

unittest added to reproduce a test cubic that triggered an assert, due to the
cubic being outside of the cliprect. The test (w/o the fix) will assert in 
a SK_DEBUG build.
Review URL: https://codereview.appspot.com/7100056

git-svn-id: http://skia.googlecode.com/svn/trunk@7184 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-15 15:51:59 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fix leaks in blurrect benchs and gm. 2013-01-11 20:54:44 +00:00
debugger dashing asPoints could draw excessively long first dash 2013-01-15 12:53:31 +00:00
experimental Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-10 02:01:29 +00:00
forth remove uses of setBitmapDevice (DEPRECATED) 2012-09-26 13:44:13 +00:00
gm Implementation of the displacement effect (both CPU and GPU) 2013-01-15 15:40:19 +00:00
gyp Implementation of the displacement effect (both CPU and GPU) 2013-01-15 15:40:19 +00:00
include Implementation of the displacement effect (both CPU and GPU) 2013-01-15 15:40:19 +00:00
samplecode fix win build 2013-01-08 16:22:44 +00:00
src Fix bug in cubic-clipper (SkEdgeClipper). When we chop the cubic on Top/Bottom 2013-01-15 15:51:59 +00:00
tests Fix bug in cubic-clipper (SkEdgeClipper). When we chop the cubic on Top/Bottom 2013-01-15 15:51:59 +00:00
third_party Add BSON implementation to third_party 2012-06-13 18:22:09 +00:00
tools Turn off timeIndividualTiles 2013-01-15 15:50:42 +00:00
trybots_to_run Added cros_daisy to build bots list 2012-08-27 17:57:58 +00:00
.gitignore Set git to ignore .android_config 2012-12-12 21:21:29 +00:00
DEPS Replace SkConsistentChecksum with SkCityHash (now including CityHash via DEPS) 2012-12-07 15:12:01 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia Update gyp to allow alternative out directories 2012-11-28 14:11:41 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
Makefile Update gyp to allow alternative out directories 2012-11-28 14:11:41 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
whitespace.txt Rebaselined webpage image GMs for ['base-macmini'] on Google Storage. 2013-01-11 14:19:52 +00:00

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

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot