Hosted by
|
with Ada.Tags; use Ada.Tags;
with Glyph_Images; use Glyph_Images;
with Writers; use Writers;
with Strings; use Strings;
package Printers.PS is
type PS_Printer is new Printer with private;
PS_Printer_Tag : constant String;
type PS_Printer_Access is access all PS_Printer;
function Create
(Filename : in String)
return PS_Printer_Access;
function Get_Format
(This : access PS_Printer)
return String;
procedure Print
(This : access PS_Printer;
Add : access Glyph;
Center : in Vector);
procedure Frame_Box
(This : access PS_Printer;
Box : in Rectangle;
Color : in Gray_Pixel);
procedure Fill_Box
(This : access PS_Printer;
Box : in Rectangle;
Color : in Gray_Pixel);
procedure Write
(This : access PS_Printer);
private
type PS_Printer is
new Printer with null record;
PS_Printer_Tag : constant String := "printers.ps.ps_printer";
end Printers.PS;
|