Handbook
Glossary
draw-texture-pro ( texture srcrec dstrec origin rotation tint -- )
Vocabulary
raylib
Inputs
texture
a
Texture2D
srcrec
a
Rectangle
dstrec
a
Rectangle
origin
a
Vector2
rotation
a
float
tint
a
Color
Outputs
None
Word description
Draw a part of a texture defined by a source rectangle to destination rectangle, with scaling and rotation
Definition
USING:
alien.c-types
alien.syntax
;
IN:
raylib
LIBRARY:
raylib
FUNCTION-ALIAS:
draw-texture-pro
void
DrawTexturePro
(
Texture2D
texture,
Rectangle
srcrec,
Rectangle
dstrec,
Vector2
origin,
float
rotation,
Color
tint )