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