From 5c082a14acbb70eec2fd6dc5a4c134799f3d8535 Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Wed, 17 Apr 2013 02:25:33 +0000 Subject: add compute-bounds for conics git-svn-id: http://skia.googlecode.com/svn/trunk@8713 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkGeometry.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/core') 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 -- cgit v1.2.3