diff options
-rw-r--r-- | include/gpu/GrContext.h | 6 | ||||
-rw-r--r-- | src/gpu/GrAARectRenderer.cpp | 8 | ||||
-rw-r--r-- | src/lazy/SkCachingPixelRef.cpp | 1 | ||||
-rw-r--r-- | src/lazy/SkCachingPixelRef.h | 1 | ||||
-rw-r--r-- | src/lazy/SkLazyCachingPixelRef.cpp | 1 | ||||
-rw-r--r-- | src/lazy/SkLazyCachingPixelRef.h | 1 |
6 files changed, 7 insertions, 11 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index f302a44808..03665d7011 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -396,10 +396,10 @@ public: /** * Draw the rect using a paint. * @param paint describes how to color pixels. - * @param stroke the stroke information (width, join, cap). - * If stroke == NULL, then the rect is filled. + * @param stroke the stroke information (width, join, cap). + * If stroke == NULL, then the rect is filled. * Otherwise, if stroke width == 0, then the stroke - * is always a single pixel thick, else the rect is + * is always a single pixel thick, else the rect is * mitered/beveled stroked based on stroke width. * @param matrix Optional matrix applied to the rect. Applied before * context's matrix or the paint's matrix. diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp index 6b0a998bf0..aa599ca832 100644 --- a/src/gpu/GrAARectRenderer.cpp +++ b/src/gpu/GrAARectRenderer.cpp @@ -368,7 +368,7 @@ static const uint16_t gMiterStrokeAARectIdx[] = { * Following comes a bevel-stroke rect and its indices: * * 4 7 - * ********************************* + * ********************************* * * ______________________________ * * * / 12 15 \ * * * / \ * @@ -381,10 +381,10 @@ static const uint16_t gMiterStrokeAARectIdx[] = { * * | | **************** | | * * * | |____________________| | * * 1 * |9 17 18 10| * 2 - * * \ / * + * * \ / * * * \13 __________________________14/ * * * * - * ********************************** + * ********************************** * 5 6 */ static const uint16_t gBevelStrokeAARectIdx[] = { @@ -782,7 +782,7 @@ void GrAARectRenderer::strokeAARect(GrGpu* gpu, // For bevel-stroke, use 2 SkRect instances(devOutside and devOutsideAssist) // to draw the outer of the rect. Because there are 8 vertices on the outer - // edge, while vertex number of inner edge is 4, the same as miter-stroke. + // edge, while vertex number of inner edge is 4, the same as miter-stroke. if (!miterStroke) { devOutside.inset(0, ry); devOutsideAssist.outset(0, ry); diff --git a/src/lazy/SkCachingPixelRef.cpp b/src/lazy/SkCachingPixelRef.cpp index 2761f1e8bb..d12b7cf881 100644 --- a/src/lazy/SkCachingPixelRef.cpp +++ b/src/lazy/SkCachingPixelRef.cpp @@ -109,4 +109,3 @@ bool SkCachingPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) { *bitmap = tmp; return true; } - diff --git a/src/lazy/SkCachingPixelRef.h b/src/lazy/SkCachingPixelRef.h index 7caba45138..db968dfcdd 100644 --- a/src/lazy/SkCachingPixelRef.h +++ b/src/lazy/SkCachingPixelRef.h @@ -78,4 +78,3 @@ private: }; #endif // SkCachingPixelRef_DEFINED - diff --git a/src/lazy/SkLazyCachingPixelRef.cpp b/src/lazy/SkLazyCachingPixelRef.cpp index 59ac9c3809..730b5f7d27 100644 --- a/src/lazy/SkLazyCachingPixelRef.cpp +++ b/src/lazy/SkLazyCachingPixelRef.cpp @@ -59,4 +59,3 @@ bool SkLazyCachingPixelRef::Install(SkBitmapFactory::DecodeProc proc, SkNEW_ARGS(SkLazyCachingPixelRef, (data, proc))); return ref->configure(destination) && destination->setPixelRef(ref); } - diff --git a/src/lazy/SkLazyCachingPixelRef.h b/src/lazy/SkLazyCachingPixelRef.h index c13a2cd02b..a9d2dad990 100644 --- a/src/lazy/SkLazyCachingPixelRef.h +++ b/src/lazy/SkLazyCachingPixelRef.h @@ -96,4 +96,3 @@ private: }; #endif // SkLazyCachingPixelRef_DEFINED - |