Permission for flood-fill code clarified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@33966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,7 +67,10 @@ wxImageFloodFill(wxImage *image,
|
|||||||
/* A diamond flood-fill using a circular queue system.
|
/* A diamond flood-fill using a circular queue system.
|
||||||
Each pixel surrounding the current pixel is added to
|
Each pixel surrounding the current pixel is added to
|
||||||
the queue if it meets the criteria, then is retrieved in
|
the queue if it meets the criteria, then is retrieved in
|
||||||
its turn. Code originally based on http://www.drawit.co.nz/Developers.htm */
|
its turn. Code originally based on http://www.drawit.co.nz/Developers.htm,
|
||||||
|
with explicit permission to use this for wxWidgets granted by Andrew Empson
|
||||||
|
(no copyright claimed)
|
||||||
|
*/
|
||||||
|
|
||||||
int width = image->GetWidth();
|
int width = image->GetWidth();
|
||||||
int height = image->GetHeight();
|
int height = image->GetHeight();
|
||||||
|
Reference in New Issue
Block a user