Libraries |
|
Graph_file | Source Code |
|
|
Types | ||||
|
graph_file
const type: graph_file
-
Implementation type to display graphic text. This type allows writing text to graphic windows. This is done with the standard font of the graphic library.
Function Summary | |||||
graph_file |
| ||||
graph_file |
| ||||
graph_file |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
integer |
| ||||
integer |
| ||||
integer |
| ||||
integer |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
|
Function Detail |
open
const func graph_file: open (in PRIMITIVE_WINDOW: graphWin)
-
Creates a graph_file at the upper left corner of graphWin. The graph_file extends over the whole graphWin.
- Returns:
- the file opened.
open
const func graph_file: open (in PRIMITIVE_WINDOW: graphWin, in integer: minX, in integer: minY)
-
Creates a graph_file at (minX, minY) in graphWin. The graph_file extends to the lower right edge of graphWin.
- Returns:
- the file opened.
open
const func graph_file: open (in PRIMITIVE_WINDOW: graphWin, in integer: minX, in integer: minY, in integer: width, in integer: height)
-
Creates a graph_file at (minX, minY) in graphWin. The graph_file is created with the given width and ''height'.
- Returns:
- the file opened.
flush
const proc: flush (in graph_file: aGraphFile)
-
Forces that all buffered data of aFile is sent to its destination. This causes data to be sent to the graphic system of the OS.
color
const proc: color (inout graph_file: aGraphFile, in color: col)
-
Set the foreground color of aGraphFile.
color
const proc: color (inout graph_file: aGraphFile, in color: col1, in color: col2)
-
Set the foreground and background color of aGraphFile.
height
const func integer: height (in graph_file: aGraphFile)
-
Get the height of aGraphFile.
- Returns:
- the height of aGraphFile.
width
const func integer: width (in graph_file: aGraphFile)
-
Get the width of aGraphFile.
- Returns:
- the width of aGraphFile.
line
const func integer: line (in graph_file: aGraphFile)
-
Get the current line of aGraphFile.
- Returns:
- the current line of aGraphFile.
column
const func integer: column (in graph_file: aGraphFile)
-
Get the current column of aGraphFile.
- Returns:
- the current column of aGraphFile.
clear
const proc: clear (inout graph_file: aGraphFile, in integer: upper, in integer: left, in integer: lower, in integer: right)
-
Clear an area of aGraphFile with the background color. The area is specified in (line, column) coordinates and is between the (upper, left) and (lower, right).
clear
const proc: clear (inout graph_file: aGraphFile)
-
Clear the area of aGraphFile with the background color.
setPos
const proc: setPos (inout graph_file: aGraphFile, in integer: line, in integer: column)
-
Set the current position of aGraphFile to line and column.
setPosXY
const proc: setPosXY (inout graph_file: aGraphFile, in integer: xPos, in integer: yPos)
-
Set the current position of aGraphFile to the coordinates (xPos, yPos). The coordinates are from the graphic window which belongs to aGraphFile.
setLine
const proc: setLine (inout graph_file: aGraphFile, in integer: line)
-
Set the line of the current position of aGraphFile.
setColumn
const proc: setColumn (inout graph_file: aGraphFile, in integer: column)
-
Set the column of the current position of aGraphFile.
write
const proc: write (inout graph_file: aGraphFile, in string: stri)
-
Write a string to the current position of aGraphFile.
writeln
const proc: writeln (inout graph_file: aGraphFile)
-
Write end-of-line to aGraphFile. Set the current position to the beginning of the next line.
|
|