Seed7 - The extensible programming language
Seed7 FAQ Manual Screenshots Examples Libraries Algorithms Download Links
Libraries AES ARC4 Array ASN.1 Bigfile Bigint Bigrat Bin32 Bin64 Bitdata Bitmapfont Bitset Bitsetof Boolean Browser Bstring Bytedata Cards Category CC config Cgi Cgi dialog Char Charsets Cipher Clib_file Color CLI Commands Complex Console Crc32 Deflate DES Dialog Dir Draw Duration Echo Editline Enable_input Enable_io Enable_output Encoding Environment External_file File File system Float Font Forloop Ftp Getf Gethttp Gethttps Graph Graph_file Gzip Hash Hashsetof Hmac Html_ent Httpserv Idxarray Image Inflate Inflate file Inifile Integer Keybd Line Listener LZW Make Math Msgdigest Null_file Osfiles Picture utility Pixmap_file Pixmapfont PKCS #1 Poll Process Progs Propertyfile Rational Reference Ref_list Scanfile Scanstri Set Shell Smtp Sockbase Socket SQL base Stdio Strifile String Stritext Subrange Tar Text Time TLS/SSL Triple DES Unicode Utf16 Utf8 Vectorfont 3D Vector Wildcard Window Wrinum X.509 Xmldom Xml_ent Zip
Libraries
Pixmap_file Source Code
 previous   up   next 

Types
pixmapFontFile
Text implementation type to write with a pixmap font.

pixmapFontFile

const type: pixmapFontFile

Text implementation type to write with a pixmap font. This type allows writing text to graphic windows. This is done with the portable fonts of Seed7.


Function Summary
text
openPixmapFontFile (in PRIMITIVE_WINDOW: win)
Creates a pixmapFontFile at the upper left corner of win.
text
openPixmapFontFile (in PRIMITIVE_WINDOW: win, in integer: min_x, in integer: min_y)
Creates a pixmapFontFile at (min_x, min_y) in win.
void
flush (inout pixmapFontFile: aFile)
Forces that all buffered data is sent to its destination.
void
setFont (inout text: aText, in font: aFont)
Set the current font of aText to aFont.
void
clear (inout pixmapFontFile: fontFile, in integer: upper, in integer: left, in integer: lower, in integer: right)
Clear an area of fontFile with the background color.
void
clear (inout pixmapFontFile: fontFile)
Clear the area of fontFile with the background color.
void
setPos (inout pixmapFontFile: fontFile, in integer: line, in integer: column)
Set the current position of fontFile to line and column.
void
setPosXY (inout pixmapFontFile: fontFile, in integer: xPos, in integer: yPos)
Set the current position of fontFile to the coordinates (xPos, yPos).
void
setLine (inout pixmapFontFile: fontFile, in integer: line)
Set the line of the current position of fontFile.
void
setColumn (inout pixmapFontFile: fontFile, in integer: column)
Set the column of the current position of fontFile.
void
color (inout pixmapFontFile: fontFile, in color: col)
Set the current foreground color of fontFile.
void
color (inout pixmapFontFile: fontFile, in color: col, in color: backgr)
Set the current foreground and background color of fontFile.
void
write (inout pixmapFontFile: fontFile, in string: stri)
Write a string to a pixmapFontFile.
void
writeln (inout pixmapFontFile: fontFile)
Write end-of-line to pixmapFontFile.

Function Detail

openPixmapFontFile

const func text: openPixmapFontFile (in PRIMITIVE_WINDOW: win)

Creates a pixmapFontFile at the upper left corner of win. The pixmapFontFile extends over the whole win.

Returns:
the file opened.

openPixmapFontFile

const func text: openPixmapFontFile (in PRIMITIVE_WINDOW: win, in integer: min_x, in integer: min_y)

Creates a pixmapFontFile at (min_x, min_y) in win. The pixmapFontFile extends to the lower right edge of win.

Returns:
the file opened.

flush

const proc: flush (inout pixmapFontFile: aFile)

Forces that all buffered data is sent to its destination. Flushing a null_file has no effect.


setFont

const proc: setFont (inout text: aText, in font: aFont)

Set the current font of aText to aFont.


clear

const proc: clear (inout pixmapFontFile: fontFile, in integer: upper, in integer: left, in integer: lower, in integer: right)

Clear an area of fontFile 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 pixmapFontFile: fontFile)

Clear the area of fontFile with the background color.


setPos

const proc: setPos (inout pixmapFontFile: fontFile, in integer: line, in integer: column)

Set the current position of fontFile to line and column.


setPosXY

const proc: setPosXY (inout pixmapFontFile: fontFile, in integer: xPos, in integer: yPos)

Set the current position of fontFile to the coordinates (xPos, yPos). The coordinates are from the graphic window which belongs to fontFile.


setLine

const proc: setLine (inout pixmapFontFile: fontFile, in integer: line)

Set the line of the current position of fontFile.


setColumn

const proc: setColumn (inout pixmapFontFile: fontFile, in integer: column)

Set the column of the current position of fontFile.


color

const proc: color (inout pixmapFontFile: fontFile, in color: col)

Set the current foreground color of fontFile.


color

const proc: color (inout pixmapFontFile: fontFile, in color: col, in color: backgr)

Set the current foreground and background color of fontFile.


write

const proc: write (inout pixmapFontFile: fontFile, in string: stri)

Write a string to a pixmapFontFile.


writeln

const proc: writeln (inout pixmapFontFile: fontFile)

Write end-of-line to pixmapFontFile. Set the current position to the beginning of the next line.



 previous   up   next