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
V2 x y -> (if x thenRaw.SDL_FLIP_HORIZONTALelse0) .|.
765
766
(if y thenRaw.SDL_FLIP_VERTICALelse0))
766
767
768
+
--| 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.
769
+
copyExF::MonadIOm
770
+
=>Renderer--^ The rendering context
771
+
->Texture--^ The source texture
772
+
->Maybe (RectangleCInt) --^ The source rectangle to copy, or 'Nothing' for the whole texture
773
+
->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.
774
+
->CDouble--^ The angle of rotation in degrees. The rotation will be performed clockwise.
775
+
->Maybe (PointV2CFloat) --^ The point indicating the center of the rotation, or 'Nothing' to rotate around the center of the destination rectangle
776
+
->V2Bool--^ Whether to flip the texture on the X and/or Y axis
0 commit comments