Hosted by
|
package body Printers.PS is
function Create
(Filename : in String)
return PS_Printer_Access
is
Result : PS_Printer_Access := new PS_Printer;
begin
To_String_Access(Filename, Result.Filename);
return Result;
end Create;
function Get_Format
(This : access PS_Printer)
return String is
begin
return "SVG";
end Get_Format;
procedure Print
(This : access PS_Printer;
Add : access Glyph;
Center : in Vector) is
begin
null;
end Print;
procedure Frame_Box
(This : access PS_Printer;
Box : in Rectangle;
Color : in Gray_Pixel) is
begin
null;
end Frame_Box;
procedure Fill_Box
(This : access PS_Printer;
Box : in Rectangle;
Color : in Gray_Pixel) is
begin
null;
end Fill_Box;
procedure Write
(This : access PS_Printer) is
begin
null; -- Write(To, "%PS-2.0");
end Write;
end Printers.PS;
|