aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDraw.cpp
Commit message (Collapse)AuthorAge
...
* if we're strokeandfill+hairline, just draw fill (they way paths do) insteadGravatar reed@android.com2010-03-25
| | | | | | | | of just hairline stroking (bad) git-svn-id: http://skia.googlecode.com/svn/trunk@533 2bbb7eff-a529-9590-31e7-b0007b416f81
* convert matrix <--> matrix44Gravatar reed@android.com2010-03-01
| | | | | | | | add glyphrec to bounder git-svn-id: http://skia.googlecode.com/svn/trunk@516 2bbb7eff-a529-9590-31e7-b0007b416f81
* check bounder before lockPixels on the bitmapGravatar reed@android.com2010-02-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@493 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added a virtual to SkBounder, called by text, that passesGravatar reed@android.com2010-01-04
| | | | | | | | | | the glyph's ID as well as its bounds. Made the universal doIRect() non-abstract so that a child class can override either the general flavor or the text flavor. git-svn-id: http://skia.googlecode.com/svn/trunk@468 2bbb7eff-a529-9590-31e7-b0007b416f81
* outset the bounds if we're in hairline before quick-reject in SkDraw.cppGravatar reed@android.com2009-11-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@445 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't magically convert to hairline unless we're < 1.0 in both X and Y. The ↵Gravatar reed@android.com2009-09-03
| | | | | | | | | | new routine both checks, and if legal, returns the new width which will be used to compute a modulated alpha. git-svn-id: http://skia.googlecode.com/svn/trunk@352 2bbb7eff-a529-9590-31e7-b0007b416f81
* handle cap==round for drawPointsGravatar reed@android.com2009-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@266 2bbb7eff-a529-9590-31e7-b0007b416f81
* add dox for scalarcomparetypeGravatar reed@android.com2009-07-08
| | | | | | | | | use internal mutable version of drawPath when we've cons'd up a path on behalf of a rect git-svn-id: http://skia.googlecode.com/svn/trunk@258 2bbb7eff-a529-9590-31e7-b0007b416f81
* use sk_bzero instead of bzero, since it isn't always available.Gravatar reed@android.com2009-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@244 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect nearly translate-only matrices when drawing bitmaps (for speed)Gravatar reed@android.com2009-06-24
| | | | | | | | | rename setXfermode(Mode) to setXfermodeMode(Mode) for sanity fix memory leak in setXfermode(Mode) git-svn-id: http://skia.googlecode.com/svn/trunk@239 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove deprecated use of porterduff enumGravatar reed@android.com2009-06-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@235 2bbb7eff-a529-9590-31e7-b0007b416f81
* add ADD xfermodeGravatar reed@android.com2009-04-24
| | | | | | | | safely handle (don't draw) if the size of SkMask exceeds 31bits git-svn-id: http://skia.googlecode.com/svn/trunk@159 2bbb7eff-a529-9590-31e7-b0007b416f81
* API change: SkPath computeBounds -> getBoundsGravatar reed@android.com2009-04-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@140 2bbb7eff-a529-9590-31e7-b0007b416f81
* use static_castGravatar reed@android.com2009-03-23
| | | | | | | | fix comments git-svn-id: http://skia.googlecode.com/svn/trunk@135 2bbb7eff-a529-9590-31e7-b0007b416f81
* promote SkMask's rowBytes to 32bits, since its bounds is a 32bit rectGravatar reed@android.com2009-03-19
| | | | | | | | be sure a rect is sorted before using it as the path's bounds cache git-svn-id: http://skia.googlecode.com/svn/trunk@128 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sanity checks to handles extremely large coordinates or filter margins.Gravatar reed@android.com2009-03-16
| | | | | | | | | Should not hurt features (we hope), but is an easy way to survive malicious values on a small-memory machine like a handset. git-svn-id: http://skia.googlecode.com/svn/trunk@123 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix ref() in CreateTypefaceGravatar reed@android.com2009-03-05
| | | | | | | | fix comment in SkDraw.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@111 2bbb7eff-a529-9590-31e7-b0007b416f81
* Handle kA8 bitmaps drawing through a matrix (was infinitely recursive)Gravatar reed@android.com2009-02-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@95 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix compile by using the right (new) name for SkComposeShader.hGravatar reed@android.com2008-12-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@29 2bbb7eff-a529-9590-31e7-b0007b416f81
* grab from latest androidGravatar reed@android.com2008-12-17
git-svn-id: http://skia.googlecode.com/svn/trunk@27 2bbb7eff-a529-9590-31e7-b0007b416f81