moz-skia/samplecode
reed@google.com fd4be26c42 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/6250051

git-svn-id: http://skia.googlecode.com/svn/trunk@4048 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-25 01:04:12 +00:00
..
ClockFaceView.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
GMSampleView.h Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows. 2011-12-09 19:50:48 +00:00
OverView.cpp Annotate overridden functions with SK_OVERRIDE in OverView class. 2012-03-08 16:20:16 +00:00
Sample2PtRadial.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAAClip.cpp now we trim the aaclip after building it, to ensure that it has tight bounds 2011-10-27 16:58:46 +00:00
SampleAARectModes.cpp Add per-vertex coverage field, use in AA rects when alpha tweak is not valid, add relevant sample/gm 2011-10-10 14:08:47 +00:00
SampleAARects.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAll.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
SampleAnimBlur.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleAnimatedGradient.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAnimator.cpp Bug fixes: 2011-10-10 16:38:58 +00:00
SampleApp.cpp Move function decls and macros out of public headers that are meant for internal use. 2012-05-07 17:09:37 +00:00
SampleApp.h Added "--list" command line option to SampleApp 2012-05-03 18:22:28 +00:00
SampleArc.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAvoid.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBigBlur.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBigGradient.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBitmapRect.cpp reimage ninepatch-stretch with white bg (for easier printing) 2011-09-06 19:34:13 +00:00
SampleBlur.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBox.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCamera.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCircle.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleClamp.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleClip.cpp Made "Clip" sample use AA clipping 2012-05-03 18:05:18 +00:00
SampleCode.h disable GPU blur on small paths 2012-03-28 14:44:37 +00:00
SampleColorFilter.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleComplexClip.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleConcavePaths.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCull.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDash.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDecode.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDegenerateTwoPtRadials.cpp Code changes for ANGLE GL interface. .gyp file changes will be delivered later. 2012-03-28 16:19:11 +00:00
SampleDither.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDitherBitmap.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDraw.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDrawBitmap.cpp Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
SampleDrawLooper.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleEffects.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleEmboss.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleEmptyPath.cpp Fixed signed/unsigned comparison warnings in empty path gm/sample 2011-10-10 14:03:33 +00:00
SampleEncode.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFillType.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFilter.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFilter2.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFontCache.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFontScalerTest.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleFuzz.cpp Fixes for Windows Release compiler complaints (overflow in const arith) 2012-05-14 17:51:23 +00:00
SampleGradients.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleHairCurves.cpp Revert accidental change to sample code 2011-09-07 18:44:17 +00:00
SampleHairModes.cpp add test for hairlines and xfermodes 2011-09-08 13:36:30 +00:00
SampleHairline.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleImage.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleImageDir.cpp Fix some warnings on VS2010 2011-10-24 21:09:40 +00:00
SampleLCD.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLayerMask.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLayers.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLineClipper.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
SampleLines.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleMeasure.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleMipMap.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SampleMovie.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleNinePatch.cpp use drawBitmapNine instead of SkNinePatch utils 2011-09-07 12:27:43 +00:00
SampleOvalTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleOverflow.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePageFlip.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SamplePatch.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePath.cpp don't draw in constructor (makes debugging harder) 2012-03-12 21:14:09 +00:00
SamplePathClip.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePathEffects.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePathFill.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePicture.cpp Addressed more Windows compiler complaint issues 2012-04-16 15:50:18 +00:00
SamplePoints.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePolyToPoly.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
SampleRegion.cpp Debug Windows compiler complaint fixes 2012-05-14 16:33:36 +00:00
SampleRepeatTile.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleShaderText.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleShaders.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleShapes.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleSkLayer.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleSlides.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
SampleSpiral.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokePath.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokeRect.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokeText.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTests.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleText.cpp Fix type errors and a few warnings for Visual Studio 2010 64-bit build. 2012-05-17 15:38:00 +00:00
SampleTextAlpha.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTextBox.cpp splitscreen for black and white versions 2011-09-28 15:24:00 +00:00
SampleTextEffects.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
SampleTextOnPath.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
SampleTextureDomain.cpp Fixing the ignore transform flag in Ganesh with mask filter and drawBitmap 2011-07-28 20:10:09 +00:00
SampleTiling.cpp SampleApp: fixing bad ref counting on non dynamically allocated object 2011-09-13 18:15:52 +00:00
SampleTinyBitmap.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTriangles.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTypeface.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleUnitMapper.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleVertices.cpp use drawBitmapNine instead of SkNinePatch utils 2011-09-07 12:27:43 +00:00
SampleWarp.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleWritePixels.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleXfermodes.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SampleXfermodesBlur.cpp enable soft clipping (yikes) 2011-10-24 12:19:46 +00:00
TransitionView.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
samplecode_files.mk Updates to the Android SampleApp 2011-06-13 16:58:40 +00:00
vertexdump.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00