skia2/include/core
reed@google.com 9797272edf Change patheffect to take a (new) StrokeRec object, which encapsulates the fill
or stroke parameters for a path.

Today, the patheffect only sees if the caller was going to stroke or fill, and if
stroke, it just sees the width. With this change, the effect can see all of the
related parameters (e.g. cap/join/miter). No other change is intended at this
time.

After this change, I hope to use this additional data to allow SkDashPathEffect
to, at times, apply the stroke as part of its effect, which may be much more
efficient than first dashing, and then reading that and stroking it.

Most of these files changed just because of the new parameter to filterPath. The
key changes are in SkPathEffect.[h,cpp], SkPaint.cpp and SkScalerContext.cpp
Review URL: https://codereview.appspot.com/6249050

git-svn-id: http://skia.googlecode.com/svn/trunk@4046 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-24 20:13:57 +00:00
..
Sk64.h Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00
SkAdvancedTypefaceMetrics.h [PDF] Subset font advance data (W array). 2011-08-18 02:38:50 +00:00
SkAutoKern.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkBitmap.h update dox for copy-constructor 2012-05-16 13:04:22 +00:00
SkBlitRow.h (SSE2) acceleration for rectangular opaque erases. 2012-03-19 13:49:50 +00:00
SkBlitter.h Tighten up restrictions on blit width: some shaders assert that they 2011-12-29 16:09:31 +00:00
SkBounder.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkBuffer.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkCanvas.h replace getTotalClipStack() with replayClips()+ClipVisitor 2012-04-13 13:50:27 +00:00
SkChunkAlloc.h change SkChunkAlloc to grow its allocations geometrically (not linearly) 2012-05-17 14:28:11 +00:00
SkClipStack.h pass the region-op to the clipstack for SkCanvas::clipRegion. 2012-05-16 18:50:40 +00:00
SkColor.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkColorFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkColorPriv.h add SkFourByteInterp256 variant, when the caller has already scaled the last 2012-03-12 14:25:18 +00:00
SkColorShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkComposeShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkData.h update dox for NewFromMalloc() to clarify ownership 2012-05-21 20:00:39 +00:00
SkDeque.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDescriptor.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDevice.h Plumbing to propagate save & restore from SkCanvas down to GrContext & lower 2012-05-23 11:44:08 +00:00
SkDeviceProfile.h add experimental files to encapsulate device-level font settings 2012-03-01 19:21:11 +00:00
SkDither.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDraw.h Fixing the drawing of blurred shodows for hairline paths with software rendering 2012-04-04 15:16:51 +00:00
SkDrawFilter.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDrawLooper.h extend fastbounds impls to include maskfilters and drawloopers. This allows 2012-01-30 15:41:43 +00:00
SkEdgeClipper.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkEmptyShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkEndian.h Open type table definitions. 2012-02-02 19:15:21 +00:00
SkFDot6.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkFixed.h use higher precision (64bit) fixed-point for matrix proc 2012-03-07 21:47:41 +00:00
SkFlate.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkFlattenable.h Decouple the SkFlattenable from SkReader32/SkWriter32. 2012-04-12 13:24:04 +00:00
SkFloatBits.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkFloatingPoint.h rename sk_float_isNaN to sk_float_isnan to match related functions 2011-12-06 20:18:05 +00:00
SkFontHost.h remove unused ptr/len parameters from CreateTypeface 2012-05-07 21:06:55 +00:00
SkGeometry.h Add perspective support to the gpu aa hairline renderer. 2011-09-12 14:59:34 +00:00
SkGraphics.h change SetTLSFontCacheLimit to be void, since it doesn't easily know the prev value 2012-05-17 13:50:36 +00:00
SkImageFilter.h apply imagefilter to all draw calls 2012-03-23 15:36:36 +00:00
SkLineClipper.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMallocPixelRef.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkMask.h move SkAutoMaskFreeImage from SkMaskFilter.h to SkMask.h 2011-10-18 17:35:26 +00:00
SkMaskFilter.h Fixing the drawing of blurred shodows for hairline paths with software rendering 2012-04-04 15:16:51 +00:00
SkMath.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMatrix.h misc fixes 2012-04-10 16:20:41 +00:00
SkMetaData.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMMapStream.h Closing fd for mmap after mapping succeeds. 2011-12-09 21:19:38 +00:00
SkOrderedReadBuffer.h Decouple the SkFlattenable from SkReader32/SkWriter32. 2012-04-12 13:24:04 +00:00
SkOrderedWriteBuffer.h add optional storage parameter to SkWriter32 2012-04-24 21:12:39 +00:00
SkOSFile.h Adding support to trunk for building Skia using the Android NDK. 2011-11-03 13:08:29 +00:00
SkPackBits.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPaint.h computeFastStrokeBounds needs to pass kStroke_Style instead of kFill_Style (ya think?) 2012-05-16 19:21:12 +00:00
SkPath.h Iter::next takes a bool (defaults to true for now) if we want to consume degenerates. 2012-05-16 17:16:46 +00:00
SkPathEffect.h Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-24 20:13:57 +00:00
SkPathMeasure.h add SK_WARN_UNUSED_RESULT warning to SkPathMeasure methods that might leave 2012-04-12 19:44:38 +00:00
SkPerspIter.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPicture.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPixelRef.h Mutexes in pixelrefs were done very sloppily initially. The code (a) assumes all 2012-05-17 13:14:52 +00:00
SkPoint.h make CanNormalize inline for the float build (big speedup for PathIter) 2012-05-07 13:51:05 +00:00
SkPostConfig.h Add SK_SYSTEM_ZLIB define. 2012-04-16 19:10:21 +00:00
SkPreConfig.h Warn when ignoring result of SkMatrix::invert. 2012-04-09 22:33:11 +00:00
SkPtrRecorder.h Make it possible to share a comparison func with both SkTSearch and SkQSort 2012-04-10 21:03:23 +00:00
SkRandom.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkRasterizer.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkReader32.h Decouple the SkFlattenable from SkReader32/SkWriter32. 2012-04-12 13:24:04 +00:00
SkRect.h speedup SkRect::isFinite() (almost 2x) 2012-05-16 13:35:36 +00:00
SkRefCnt.h WeakRefCnt 2012-05-16 18:21:56 +00:00
SkRefDict.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkRegion.h store x-interval-count per scanline, so we can skip lines in O(1) 2012-05-02 18:07:33 +00:00
SkRelay.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkScalar.h allow the tolerance to be zero for nearlyzero 2012-04-12 12:51:32 +00:00
SkScalarCompare.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkScalerContext.h Fix a bunch of Coverity defects - class members not initialized in the constructor. 2012-03-28 20:29:38 +00:00
SkScan.h fix scalar=fixed by implementing SkRegion form of AntiFillRect 2011-10-24 12:56:20 +00:00
SkShader.h add dox for Shaders, and how the paint's alpha modulates the shader's colors. 2012-05-11 14:47:03 +00:00
SkShape.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkSize.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkStream.h Adding more unit testing for SkCanvas and derived classes. 2012-02-22 21:00:42 +00:00
SkString.h Add SkString.contains() 2012-04-27 17:11:31 +00:00
SkTArray.h replacing Gr* with Sk* in SkTArray.h 2011-11-30 18:35:19 +00:00
SkTDArray.h Fix type errors and a few warnings for Visual Studio 2010 64-bit build. 2012-05-17 15:38:00 +00:00
SkTDict.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTDStack.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTemplates.h GrTArray->SkTArray & docs 2011-09-14 13:54:05 +00:00
SkThread_platform.h Mutexes in pixelrefs were done very sloppily initially. The code (a) assumes all 2012-05-17 13:14:52 +00:00
SkThread.h WeakRefCnt 2012-05-16 18:21:56 +00:00
SkTime.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTLazy.h Shutup strict aliasing warnings in SkTLazy 2011-09-14 12:44:13 +00:00
SkTrace.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTRegistry.h Update files to use SK_BUILD_FOR_ANDROID. 2011-11-08 19:00:26 +00:00
SkTScopedPtr.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTSearch.h Just use std qsort 2012-05-07 14:52:12 +00:00
SkTypeface.h WeakRefCnt 2012-05-16 18:21:56 +00:00
SkTypes.h Cast the result of SK_OFFSETOF to size_t to match offsetof() and avoid narrowing conversion errors 2012-03-21 12:25:48 +00:00
SkUnitMapper.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkUnPreMultiply.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkUtils.h Add ARM optimizations to the build. 2012-01-09 14:38:25 +00:00
SkWeakRefCnt.h WeakRefCnt 2012-05-16 18:21:56 +00:00
SkWriter32.h add optional storage parameter to SkWriter32 2012-04-24 21:12:39 +00:00
SkXfermode.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00