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

Side by Side Diff: include/utils/SkPatchUtils.h

Issue 424663006: SkCanvas interface for drawing a patch. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Renamed static functions Created 6 years, 4 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkPatchUtils_DEFINED
9 #define SkPatchUtils_DEFINED
10
11 #include "SkPatch.h"
12 #include "SkMatrix.h"
13
14 class SK_API SkPatchUtils {
15 public:
16 // size in pixels of each partition per axis, adjust this knob
17 static const int kPartitionSize = 30;
bsalomon 2014/08/01 21:02:28 I'd move this into the cpp. It's not really part o
dandov 2014/08/01 21:25:01 Done.
18
19 static SkIPoint GetLevelOfDetail(const SkPatch& patch, const SkMatrix* matri x);
20
21 };
22
23 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDeferredCanvas.h ('k') | src/core/SkCanvas.cpp » ('j') | src/core/SkGeometry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698