Skip to content

Commit

Permalink
Merge branch 'C3pa-fix-117'
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed May 3, 2023
2 parents d4af174 + 2d810ed commit 7a8dc03
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions modules/graphics/Graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,42 @@ return {
},
},
},
{
arguments = {
{
type = 'number',
name = 'x',
description = 'The top-left position in the Image along the x-axis.',
},
{
type = 'number',
name = 'y',
description = 'The top-left position in the Image along the y-axis.',
},
{
type = 'number',
name = 'width',
description = 'The width of the Quad in the Image. (Must be greater than 0.)',
},
{
type = 'number',
name = 'height',
description = 'The height of the Quad in the Image. (Must be greater than 0.)',
},
{
type = 'Texture',
name = 'texture',
description = 'The texture whose width and height will be used as the reference width and height.',
},
},
returns = {
{
type = 'Quad',
name = 'quad',
description = 'The new Quad.',
}
},
},
},
},
{
Expand Down

0 comments on commit 7a8dc03

Please sign in to comment.