diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 21:01:41 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 21:01:41 +0000 |
commit | 52e935d04c59135739c3a68fb6e19d313dc6d5ad (patch) | |
tree | 95f7ab178b045bef4456cbf92c6aa7e476becd99 /skia/include/SkPath.h | |
parent | 30fab79877b4bb067944b74d98346ac9bb6bfc7e (diff) | |
download | chromium_src-52e935d04c59135739c3a68fb6e19d313dc6d5ad.zip chromium_src-52e935d04c59135739c3a68fb6e19d313dc6d5ad.tar.gz chromium_src-52e935d04c59135739c3a68fb6e19d313dc6d5ad.tar.bz2 |
New drop of Skia. This is up to CL 121320.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/include/SkPath.h')
-rw-r--r-- | skia/include/SkPath.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/skia/include/SkPath.h b/skia/include/SkPath.h index f5859a9..e2409ad 100644 --- a/skia/include/SkPath.h +++ b/skia/include/SkPath.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Google Inc. + * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ class SkFlattenableReadBuffer; class SkFlattenableWriteBuffer; +class SkAutoPathBoundsUpdate; class SkString; /** \class SkPath @@ -296,11 +297,12 @@ public: the path is different from the path's current last point, then an automatic lineTo() is added to connect the current contour to the start of the arc. However, if the path is empty, then we call moveTo() with - the first point of the arc. + the first point of the arc. The sweep angle is treated mod 360. @param oval The bounding oval defining the shape and size of the arc @param startAngle Starting angle (in degrees) where the arc begins - @param sweepAngle Sweep angle (in degrees) measured clockwise + @param sweepAngle Sweep angle (in degrees) measured clockwise. This is + treated mod 360. @param forceMoveTo If true, always begin a new contour with the arc */ void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, @@ -579,6 +581,7 @@ private: void reversePathTo(const SkPath&); friend const SkPoint* sk_get_path_points(const SkPath&, int index); + friend class SkAutoPathBoundsUpdate; }; #endif |