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

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

Issue 15745015: Mark SkDrawPictureCallback with SK_API (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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 | « 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 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 /** 270 /**
271 * Subclasses of this can be passed to canvas.drawPicture. During the drawing 271 * Subclasses of this can be passed to canvas.drawPicture. During the drawing
272 * of the picture, this callback will periodically be invoked. If its 272 * of the picture, this callback will periodically be invoked. If its
273 * abortDrawing() returns true, then picture playback will be interrupted. 273 * abortDrawing() returns true, then picture playback will be interrupted.
274 * 274 *
275 * The resulting drawing is undefined, as there is no guarantee how often the 275 * The resulting drawing is undefined, as there is no guarantee how often the
276 * callback will be invoked. If the abort happens inside some level of nested 276 * callback will be invoked. If the abort happens inside some level of nested
277 * calls to save(), restore will automatically be called to return the state 277 * calls to save(), restore will automatically be called to return the state
278 * to the same level it was before the drawPicture call was made. 278 * to the same level it was before the drawPicture call was made.
279 */ 279 */
280 class SkDrawPictureCallback { 280 class SK_API SkDrawPictureCallback {
281 public: 281 public:
282 SkDrawPictureCallback() {} 282 SkDrawPictureCallback() {}
283 virtual ~SkDrawPictureCallback() {} 283 virtual ~SkDrawPictureCallback() {}
284 284
285 virtual bool abortDrawing() = 0; 285 virtual bool abortDrawing() = 0;
286 }; 286 };
287 287
288 #endif 288 #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