Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: include/core/SkCanvas.h

Issue 1848533004: fix typo: add missing const (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkCanvas_DEFINED 8 #ifndef SkCanvas_DEFINED
9 #define SkCanvas_DEFINED 9 #define SkCanvas_DEFINED
10 10
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 @param indexCount number of entries in the indices array (if not null) 1048 @param indexCount number of entries in the indices array (if not null)
1049 @param paint Specifies the shader/texture if present. 1049 @param paint Specifies the shader/texture if present.
1050 */ 1050 */
1051 void drawVertices(VertexMode vmode, int vertexCount, 1051 void drawVertices(VertexMode vmode, int vertexCount,
1052 const SkPoint vertices[], const SkPoint texs[], 1052 const SkPoint vertices[], const SkPoint texs[],
1053 const SkColor colors[], SkXfermode* xmode, 1053 const SkColor colors[], SkXfermode* xmode,
1054 const uint16_t indices[], int indexCount, 1054 const uint16_t indices[], int indexCount,
1055 const SkPaint& paint); 1055 const SkPaint& paint);
1056 void drawVertices(VertexMode vmode, int vertexCount, 1056 void drawVertices(VertexMode vmode, int vertexCount,
1057 const SkPoint vertices[], const SkPoint texs[], 1057 const SkPoint vertices[], const SkPoint texs[],
1058 const SkColor colors[], sk_sp<SkXfermode>& xmode, 1058 const SkColor colors[], const sk_sp<SkXfermode>& xmode,
1059 const uint16_t indices[], int indexCount, 1059 const uint16_t indices[], int indexCount,
1060 const SkPaint& paint) { 1060 const SkPaint& paint) {
1061 this->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode.get (), 1061 this->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode.get (),
1062 indices, indexCount, paint); 1062 indices, indexCount, paint);
1063 } 1063 }
1064 1064
1065 /** 1065 /**
1066 Draw a cubic coons patch 1066 Draw a cubic coons patch
1067 1067
1068 @param cubic specifies the 4 bounding cubic bezier curves of a patch with c lockwise order 1068 @param cubic specifies the 4 bounding cubic bezier curves of a patch with c lockwise order
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 1566
1567 class SkCanvasClipVisitor { 1567 class SkCanvasClipVisitor {
1568 public: 1568 public:
1569 virtual ~SkCanvasClipVisitor(); 1569 virtual ~SkCanvasClipVisitor();
1570 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1570 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1571 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1571 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1572 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1572 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1573 }; 1573 };
1574 1574
1575 #endif 1575 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698