diff options
author | 2013-04-17 02:25:33 +0000 | |
---|---|---|
committer | 2013-04-17 02:25:33 +0000 | |
commit | 5c082a14acbb70eec2fd6dc5a4c134799f3d8535 (patch) | |
tree | 2103c6d41565d55f1669ab3eeec1c24734b235e6 /include/core | |
parent | 0c5c3867bdbde1005a7bbb9de9df93cc10e27782 (diff) |
add compute-bounds for conics
git-svn-id: http://skia.googlecode.com/svn/trunk@8713 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkGeometry.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkGeometry.h b/include/core/SkGeometry.h index cc1e4d67f3..f20195c6f8 100644 --- a/include/core/SkGeometry.h +++ b/include/core/SkGeometry.h @@ -227,6 +227,9 @@ struct SkRationalQuad { bool findYExtrema(SkScalar* t) const; bool chopAtXExtrema(SkRationalQuad dst[2]) const; bool chopAtYExtrema(SkRationalQuad dst[2]) const; + + void computeTightBounds(SkRect* bounds) const; + void computeFastBounds(SkRect* bounds) const; }; #endif |