ae v0.0.3141 (2022-02-14T00:51:10Z)
Home
Dub
Repo
rotate
ae
utils
graphics
view
Rotate a view at an arbitrary angle (specified in radians) around its center.
auto
rotate
(V src, double angle, COLOR defaultColor, double ox, double oy)
auto
rotate
(V src, double angle, COLOR defaultColor)
auto
rotate
(
V
COLOR
)
(
auto
ref
V
src
,
double
angle
,
COLOR
defaultColor
=
ViewColor
!
V.init
)
if
(
isView
!
V
&&
is
(
COLOR
:
ViewColor
!
V
)
)
Meta
Source
See Implementation
ae
utils
graphics
view
aliases
ViewColor
flip
hflip
invert
trimAlpha
vflip
xy_t
enums
isDirectView
isView
isWritableView
functions
blend
blitTo
border
crop
flipXY
nearestNeighbor
onePixel
overlay
rotate
rotateCCW
rotateCW
safeBlitTo
size
solid
tile
vjoiner
mixin templates
DirectView
SafeWarp
Warp
templates
ViewStorageType
colorMap
parallel
procedural
trim
warp
Rotate a view at an arbitrary angle (specified in radians) around its center.