- [WIP] Reestructuració: Fase 2 a meitant, pero serà questió de commitar, no tingam un disgust
This commit is contained in:
@@ -61,6 +61,16 @@ function surf.cls() end
|
||||
---Erase the current target surface with 'color'
|
||||
function surf.cls(color) end
|
||||
|
||||
---reset the clipping region of the current target surface to its entire surface
|
||||
function surf.clip() end
|
||||
|
||||
---@param x number
|
||||
---@param y number
|
||||
---@param w number
|
||||
---@param h number
|
||||
---Set the clipping region of the current target surface
|
||||
function surf.clip(x, y, w, h) end
|
||||
|
||||
---@param x number
|
||||
---@param y number
|
||||
---@return number color
|
||||
@@ -168,16 +178,6 @@ function pal.subpal(index1, index2, color) end
|
||||
---@class view
|
||||
view = {}
|
||||
|
||||
---reset the current clipping region to the entire window
|
||||
function view.clip() end
|
||||
|
||||
---@param x number
|
||||
---@param y number
|
||||
---@param w number
|
||||
---@param h number
|
||||
---Set the current clipping region
|
||||
function view.clip(x, y, w, h) end
|
||||
|
||||
---@return number x, number y
|
||||
---Get the current origin position
|
||||
function view.origin() end
|
||||
|
||||
Reference in New Issue
Block a user