Added convex hull function to ContourMask for drawing nicer borders around masked fields

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@780 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-12-22 19:22:32 +00:00
parent 07de34640e
commit 5b62c3f9b7
2 changed files with 58 additions and 1 deletions
+3
View File
@@ -151,6 +151,9 @@ class AlphaMask : public IntrusivePtrBase<AlphaMask> {
/// Is the given location fully transparent?
bool isTransparent(int x, int y) const;
/// Determine a convex hull polygon *around* the mask
void convexHull(vector<wxPoint>& points) const;
/// Size of the mask
wxSize size;
private: