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

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

Issue 1767783004: remove unneeded flag for annotations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
2 /* 1 /*
3 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
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 #ifndef SkAnnotation_DEFINED 8 #ifndef SkAnnotation_DEFINED
10 #define SkAnnotation_DEFINED 9 #define SkAnnotation_DEFINED
11 10
12 #include "SkTypes.h" 11 #include "SkTypes.h"
13 12
14 // for chrome in PrintContextTest.cpp
15 #define SK_SUPPORT_NEW_ANNOTATION_CANVAS_VIRTUAL
16
17 class SkData; 13 class SkData;
18 struct SkPoint; 14 struct SkPoint;
19 struct SkRect; 15 struct SkRect;
20 class SkCanvas; 16 class SkCanvas;
21 17
22 /** 18 /**
23 * Annotate the canvas by associating the specified URL with the 19 * Annotate the canvas by associating the specified URL with the
24 * specified rectangle (in local coordinates, just like drawRect). 20 * specified rectangle (in local coordinates, just like drawRect).
25 * 21 *
26 * If the backend of this canvas does not support annotations, this call is 22 * If the backend of this canvas does not support annotations, this call is
(...skipping 18 matching lines...) Expand all
45 * destination. 41 * destination.
46 * 42 *
47 * If the backend of this canvas does not support annotations, this call is 43 * If the backend of this canvas does not support annotations, this call is
48 * safely ignored. 44 * safely ignored.
49 * 45 *
50 * The caller is responsible for managing its ownership of the SkData. 46 * The caller is responsible for managing its ownership of the SkData.
51 */ 47 */
52 SK_API void SkAnnotateLinkToDestination(SkCanvas*, const SkRect&, SkData*); 48 SK_API void SkAnnotateLinkToDestination(SkCanvas*, const SkRect&, SkData*);
53 49
54 #endif 50 #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