Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkAnnotation.h
1 /*
2  * Copyright 2012 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 SkAnnotation_DEFINED
9 #define SkAnnotation_DEFINED
10 
11 #include "SkTypes.h"
12 
13 class SkData;
14 struct SkPoint;
15 struct SkRect;
16 class SkCanvas;
17 
27 SK_API void SkAnnotateRectWithURL(SkCanvas*, const SkRect&, SkData*);
28 
37 SK_API void SkAnnotateNamedDestination(SkCanvas*, const SkPoint&, SkData*);
38 
48 SK_API void SkAnnotateLinkToDestination(SkCanvas*, const SkRect&, SkData*);
49 
50 #endif
A Canvas encapsulates all of the state about drawing into a device (bitmap).
Definition: SkCanvas.h:59
Definition: SkPoint.h:156
SkData holds an immutable data buffer.
Definition: SkData.h:22
Definition: SkRect.h:404