Creation/Dev/Script/Client/GuiDrawingPanel: Difference between revisions
From Graal Bible
No edit summary |
|||
| Line 16: | Line 16: | ||
=Functions= | =Functions= | ||
{| border="1" cellpadding="2" width="100%" | |||
clearall() | | '''Name''' | ||
| '''Return Type''' | |||
clearrectangle(int, int, int, int) | | '''Description''' | ||
|- | |||
drawimage(int, int, str) | | clearall() | ||
| | |||
drawimagerectangle(int, int, str, int, int, int, int) | | | ||
|- | |||
drawimagestretched(int, int, int, int, str, int, int, int, int) | | clearrectangle(int x, int y, int width, int height) | ||
| | |||
| | |||
|- | |||
| drawimage(int x, int y, str imagefilename) | |||
| | |||
| | |||
|- | |||
| drawimagerectangle(int x, int y, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | |||
| | |||
| | |||
|- | |||
| drawimagestretched(int x, int y, int width, int height, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | |||
| | |||
| | |||
|} | |||
Revision as of 18:26, 3 June 2006
Inherits GuiControl.
Variables
panel - TDrawingPanel
parth - integer (read only)
partw - integer (read only)
partx - integer (read only)
party - integer (read only)
Functions
| Name | Return Type | Description |
| clearall() | ||
| clearrectangle(int x, int y, int width, int height) | ||
| drawimage(int x, int y, str imagefilename) | ||
| drawimagerectangle(int x, int y, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | ||
| drawimagestretched(int x, int y, int width, int height, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) |