Added rotation to wxImage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-06 14:51:36 +00:00
parent 12c1b46a2f
commit 7a632f1056
13 changed files with 454 additions and 0 deletions

View File

@@ -505,6 +505,16 @@ Returns the (modified) image itself.
\helpref{Scale}{wximagescale}
\membersection{wxImage::Rotate}\label{wximagererotate}
\func{wxImage}{Rotate}{\param{double}{ angle}, \param{const wxPoint\& }{rotationCentre},
\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.
Returns the rotated image, leaving this image intact.
\membersection{wxImage::Scale}\label{wximagescale}
\constfunc{wxImage}{Scale}{\param{int}{ width}, \param{int}{ height}}