You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--| Copy a portion of the texture to the current rendering target, optionally rotating it by angle around the given center and also flipping it top-bottom and/or left-right.
673
+
copyExF::MonadIOm
674
+
=>Renderer--^ The rendering context
675
+
->Texture--^ The source texture
676
+
->Maybe (RectangleCInt) --^ The source rectangle to copy, or 'Nothing' for the whole texture
677
+
->Maybe (RectangleCFloat) --^ The destination rectangle to copy to, or 'Nothing' for the whole rendering target. The texture will be stretched to fill the given rectangle.
678
+
->CDouble--^ The angle of rotation in degrees. The rotation will be performed clockwise.
679
+
->Maybe (PointV2CFloat) --^ The point indicating the center of the rotation, or 'Nothing' to rotate around the center of the destination rectangle
680
+
->V2Bool--^ Whether to flip the texture on the X and/or Y axis
V2 x y -> (if x thenRaw.SDL_FLIP_HORIZONTALelse0) .|.
766
863
(if y thenRaw.SDL_FLIP_VERTICALelse0))
767
864
768
-
#ifdef RECENT_ISH
769
-
--| Copy a portion of the texture to the current rendering target, optionally rotating it by angle around the given center and also flipping it top-bottom and/or left-right.
770
-
copyExF::MonadIOm
771
-
=>Renderer--^ The rendering context
772
-
->Texture--^ The source texture
773
-
->Maybe (RectangleCInt) --^ The source rectangle to copy, or 'Nothing' for the whole texture
774
-
->Maybe (RectangleCFloat) --^ The destination rectangle to copy to, or 'Nothing' for the whole rendering target. The texture will be stretched to fill the given rectangle.
775
-
->CDouble--^ The angle of rotation in degrees. The rotation will be performed clockwise.
776
-
->Maybe (PointV2CFloat) --^ The point indicating the center of the rotation, or 'Nothing' to rotate around the center of the destination rectangle
777
-
->V2Bool--^ Whether to flip the texture on the X and/or Y axis
0 commit comments