draw-texture-pro ( texture srcrec dstrec origin rotation tint -- )


Vocabulary
raylib

Inputs
texturea Texture2D
srcreca Rectangle
dstreca Rectangle
origina Vector2
rotationa float
tinta Color


Outputs
None

Word description
Draw a part of a texture defined by a source rectangle to destination rectangle, with scaling and rotation

Definition


LIBRARY: raylib FUNCTION-ALIAS: draw-texture-pro void
DrawTexturePro
( Texture2D texture, Rectangle srcrec, Rectangle dstrec,
Vector2 origin, float rotation, Color tint )