Files
MagicSetEditor2/doc/function/rotate.txt
T
twanvl 968f557511 recolor_image function can now be used with custom colors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1477 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:44:44 +00:00

22 lines
835 B
Plaintext

Function: rotate
DOC_MSE_VERSION: since 0.3.9
--Usage--
> rotate(input: image, angle: some_number)
Rotate an image. The image can become larger to accomodate the rotated bounding box.
--Parameters--
! Parameter Type Description
| @input@ [[type:image]] Image to rotate.
| @angle@ [[type:double]] Angle to rotate by, in degrees counter clockwise.
--Examples--
> rotate("image_logo.png", angle:30) == [[Image]]
>>> rotate(<img src="image_logo.png" alt='"image_logo.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />, angle:30) == <img src="image_logo_rotate30.png" alt='"image_logo_rotate30.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />
--See also--
| [[fun:flip_horizontal]] Flip an image horizontally
| [[fun:flip_vertical]] Flip an image vertically