VERSIÓ 1.4.8:
- [NEW] draw.surfrot
This commit is contained in:
@@ -320,9 +320,15 @@ function draw.surf(sx, sy, sw, sh, dx, dy, dw, dh, flip_x, flip_y, invert) end
|
||||
---@param x number
|
||||
---@param y number
|
||||
---@param a number
|
||||
---@optional dw number
|
||||
---@optional dh number
|
||||
---@optional boolean flip_x
|
||||
---@optional boolean flip_y
|
||||
---@optional boolean invert
|
||||
---Blit the region starting at (sx,sy) and size (sw, sh) from the source surface
|
||||
---to the position (dx, dy) of the target surface, rotating it by a degrees
|
||||
function draw.surfrot(sx, sy, sw, sh, x, y, a) end
|
||||
---to the position (dx, dy) of the target surface, rotating it by a degrees,
|
||||
---(and optionally of size (dw, dh)) optionally flipping it horizontally or vertically
|
||||
function draw.surfrot(sx, sy, sw, sh, x, y, a, dw, dh, flip_x, flip_y) end
|
||||
|
||||
---@param text string
|
||||
---@param x number
|
||||
|
||||
Reference in New Issue
Block a user