printers-pgm
printe-pgm.ads
printe-pgm.adb
printers
printers
printers-pgm
printers-ps
printers-svg
engine
boxes/
collectors/
output/
printers/
roemer.adb
test_engine.ad
ada
bin/
engine/
fonts/
internal/
text/
util/
Home
Showcase
Snapshots
Ada Source
PHP Source
Fonts
Sourceforge
Summary
Downloads
Browse CVS
Donate
Activity
Hosted by
Printers.PGM
type PGM_Printer
Public representation.
type PGM_Printer_Access
Pointer to representation data.
function Create
Constructor for instances.
Param
Type
Description
in
Filename
String
The initial filename.
return
PGM_Printer_Access
The newly created pgm printer.
function Get_Format
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
return
String
Maximum of four characters.
procedure Set_Bounds
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
in
Bounds
Rectangle
The new bounding box.
in
Staff_Height
Real
Output zoom factor.
procedure Print_Staff_Lines
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
procedure Print
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
access
Add
Glyph
Add this glyph.
in
Center
Vector
Center coordinates.
procedure To_Pixels
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
in
Box
Rectangle
Convert this box.
out
Left
Integer
Horizontal minimum.
out
Top
Integer
Vertical minimum.
out
Right
Integer
Horizontal maximum.
out
Bottom
Integer
Vertical maximum.
procedure Darken_Pixel
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
in
Y, X
Integer
Darken this pixel.
in
Color
Gray_Pixel
Desired color.
procedure Frame_Box
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
in
Box
Rectangle
Box coordinates.
in
Color
Gray_Pixel
Use this color.
procedure Fill_Box
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
in
Box
Rectangle
Box coordinates.
in
Color
Gray_Pixel
Use this color.
procedure Write
Param
Type
Description
access
This
PGM_Printer
The pgm printer object instance.
types
PGM_Printer
PGM_Printer_Access
methods
Create
Get_Format
Set_Bounds
Print_Staff_Lines
Print
To_Pixels
Darken_Pixel
Frame_Box
Fill_Box
Write