Libraries
Image Source Code
 previous   up   next 

Types
image
Type to describe on screen images.

image

const type: image

Type to describe on screen images. Images can be used to describe icons, cards and other items on the screen.


Function Summary
integer
width (in image: anImage)
Determine the width of an image.
integer
height (in image: anImage)
Determine the height of an image.
integer
xPos (in image: anImage)
Determine the x-position of an image.
integer
yPos (in image: anImage)
Determine the y-position of an image.
PRIMITIVE_WINDOW
window (in image: anImage)
Determine the window of an image.
void
setPos (inout image: anImage, in integer: xPos, in integer: yPos)
Set the x- and y-positon of an image.
void
toTop (inout image: anImage)
Layers an image above all other windows.
void
toBottom (inout image: anImage)
Layers an image below all other windows.
string
str (in image: anImage)
Determine the name of an image.

Function Detail

width

const func integer: width (in image: anImage)

Determine the width of an image.

Returns:
the width of anImage.

height

const func integer: height (in image: anImage)

Determine the height of an image.

Returns:
the height of anImage.

xPos

const func integer: xPos (in image: anImage)

Determine the x-position of an image.

Returns:
the x-position of anImage.

yPos

const func integer: yPos (in image: anImage)

Determine the y-position of an image.

Returns:
the y-position of anImage.

window

const func PRIMITIVE_WINDOW: window (in image: anImage)

Determine the window of an image. The contents of the image can be changed, by drawing on the window.

Returns:
the window of anImage.

setPos

const proc: setPos (inout image: anImage, in integer: xPos, in integer: yPos)

Set the x- and y-positon of an image.


toTop

const proc: toTop (inout image: anImage)

Layers an image above all other windows.


toBottom

const proc: toBottom (inout image: anImage)

Layers an image below all other windows.


str

const func string: str (in image: anImage)

Determine the name of an image.

Returns:
the name of anImage.


 previous   up   next