misc fixes
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Apr 2012 16:20:41 +0000 (16:20 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Apr 2012 16:20:41 +0000 (16:20 +0000)
Submitted on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5988070/

git-svn-id: http://skia.googlecode.com/svn/trunk@3640 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkMatrix.h
src/gpu/GrAAHairLinePathRenderer.cpp
src/gpu/GrPathRendererChain.h
tests/PathTest.cpp

index 1350e8f..0f148a7 100644 (file)
@@ -549,7 +549,7 @@ private:
     enum {
         /** Set if the matrix will map a rectangle to another rectangle. This
             can be true if the matrix is scale-only, or rotates a multiple of
-            90 degrees. This bit is not set if the matrix is identity.
+            90 degrees.
              
             This bit will be set on identity matrices
         */
index 3015674..66dbe8c 100644 (file)
@@ -50,7 +50,7 @@ bool push_quad_index_data(GrIndexBuffer* qIdxBuffer) {
         //     a0              c0
         //      a            c
         //       a1       c1
-        // Each is drawn as three triagnles specified by these 9 indices:
+        // Each is drawn as three triangles specified by these 9 indices:
         int baseIdx = i * kIdxsPerQuad;
         uint16_t baseVert = (uint16_t)(i * kVertsPerQuad);
         data[0 + baseIdx] = baseVert + 0; // a0
index 54737cb..529b4cb 100644 (file)
@@ -20,7 +20,7 @@ class SkPath;
 class GrPathRenderer;
 
 /**
- * Keeps track of a ordered list of path renderers. When a path needs to be
+ * Keeps track of an ordered list of path renderers. When a path needs to be
  * drawn this list is scanned to find the most preferred renderer. To add your
  * path renderer to the list implement the GrPathRenderer::AddPathRenderers
  * function.
index c4ad0a6..d884547 100644 (file)
@@ -1053,7 +1053,6 @@ static void test_raw_iter(skiatest::Reporter* reporter) {
     }
 }
 
-void TestPath(skiatest::Reporter* reporter);
 void TestPath(skiatest::Reporter* reporter) {
     {
         SkSize size;