Added rotate sample and comment about masks in wxImage::Rotate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-03-06 16:31:05 +00:00
parent 1ea670896b
commit b4e87ec32c
2 changed files with 15 additions and 2 deletions

View File

@@ -511,7 +511,9 @@ Returns the (modified) image itself.
\param{bool}{ interpolating = TRUE}, \param{wxPoint*}{ offsetAfterRotation = NULL}}
Rotates the image about the given point, by {\it angle} radians. Passing TRUE
to {\it interpolating} results in better image quality, but is slower.
to {\it interpolating} results in better image quality, but is slower. If the
image has a mask, then the mask colour is used for the uncovered pixels in the
rotated image background. Else, black (rgb 0, 0, 0) will be used.
Returns the rotated image, leaving this image intact.