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

Side by Side Diff: src/animator/SkDrawPaint.cpp

Issue 242943004: rename SkPaintParts.* to SkPaintPart.* (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDrawShader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10 #include "SkDrawPaint.h" 8 #include "SkDrawPaint.h"
11 #include "SkAnimateMaker.h" 9 #include "SkAnimateMaker.h"
12 #include "SkDrawColor.h" 10 #include "SkDrawColor.h"
13 #include "SkDrawShader.h" 11 #include "SkDrawShader.h"
14 #include "SkMaskFilter.h" 12 #include "SkMaskFilter.h"
15 #include "SkPaintParts.h" 13 #include "SkPaintPart.h"
16 #include "SkPathEffect.h" 14 #include "SkPathEffect.h"
17 15
18 enum SkPaint_Functions { 16 enum SkPaint_Functions {
19 SK_FUNCTION(measureText) 17 SK_FUNCTION(measureText)
20 }; 18 };
21 19
22 enum SkPaint_Properties { 20 enum SkPaint_Properties {
23 SK_PROPERTY(ascent), 21 SK_PROPERTY(ascent),
24 SK_PROPERTY(descent) 22 SK_PROPERTY(descent)
25 }; 23 };
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 paint->setTextSkewX(textSkewX); 258 paint->setTextSkewX(textSkewX);
261 if (typeface == NULL) 259 if (typeface == NULL)
262 paint->setTypeface(NULL); 260 paint->setTypeface(NULL);
263 else if (typeface != (SkDrawTypeface*) -1) 261 else if (typeface != (SkDrawTypeface*) -1)
264 SkSafeUnref(paint->setTypeface(typeface->getTypeface())); 262 SkSafeUnref(paint->setTypeface(typeface->getTypeface()));
265 if (underline != -1) 263 if (underline != -1)
266 paint->setUnderlineText(SkToBool(underline)); 264 paint->setUnderlineText(SkToBool(underline));
267 if (xfermode != -1) 265 if (xfermode != -1)
268 paint->setXfermodeMode((SkXfermode::Mode) xfermode); 266 paint->setXfermodeMode((SkXfermode::Mode) xfermode);
269 } 267 }
OLDNEW
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDrawShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698