Creation/Dev/Script/Client/TDrawingPanel: Difference between revisions

From Graal Bible
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
<pre>
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]].
  TDrawingPanel (TGraalVar):
 
    height - integer (read only)
=Variables=
    parth - integer (read only)
{| border="1" cellpadding="2" width="100%"
    partw - integer (read only)
| '''Name'''
    partx - integer (read only)
| '''Type'''
    party - integer (read only)
| '''Description'''
    width - integer (read only)
|-
    clearall()
| height
    clearrectangle(int, int, int, int) - x, y, width and height
| integer (read only)
    drawimage(int, int, str) - x, y, source image
|
    drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
|-
    drawimagestretched(int, int, int, int, str, int, int, int, int) - destination x,y,width and height, source image, source x,y,width and height
| parth
</pre>
| integer (read only)
|
|-
| partw
| integer (read only)
|
|-
| partx
| integer (read only)
|
|-
| party
| integer (read only)
|
|-
| width
| integer (read only)
|
|}
 
=Functions=
{| border="1" cellpadding="2" width="100%"
| '''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)
|
|
|}

Revision as of 14:36, 27 January 2006

Inherits TGraalVar.

Variables

Name Type Description
height integer (read only)
parth integer (read only)
partw integer (read only)
partx integer (read only)
party integer (read only)
width 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)