-- $Date: 2004/03/08 10:50:56 $
-- $Revision: 1.6 $
-- $Author: jcrocholl $
-- $Hash: d47e3ea6f7b550f910b99bd0695e7d7e $

-- This file was automatically created with ado.php.
-- Manual changes will be lost when it is updated.

with Ada.Tags; use Ada.Tags;
with Glyph_Images; use Glyph_Images;
with XML_Writers; use XML_Writers;

with Strings; use Strings;

package Printers.SVG is

   -- Public representation.
   type SVG_Printer is new Printer with private;

   -- Work-around for GNAT bug.
   SVG_Printer_Tag : constant String;

   -- Pointer to representation data.
   type SVG_Printer_Access is access all SVG_Printer;

   -- Constructor for instances.
   function Create
     (Filename : in String)     -- The initial filename.
     return SVG_Printer_Access-- The newly created svg printer.

   function Get_Format
     (This : access SVG_Printer-- The svg printer object instance.
     return String;              -- Maximum of four characters.

   procedure Print
     (This   : access SVG_Printer-- The svg printer object instance.
      Add    : access Glyph;       -- Add this glyph.
      Center : in Vector);         -- Center coordinates.

   procedure Frame_Box
     (This  : access SVG_Printer-- The svg printer object instance.
      Box   : in Rectangle;       -- Box coordinates.
      Color : in Gray_Pixel);     -- Use this color.

   procedure Fill_Box
     (This  : access SVG_Printer-- The svg printer object instance.
      Box   : in Rectangle;       -- Box coordinates.
      Color : in Gray_Pixel);     -- Use this color.

   procedure Write
     (This : access SVG_Printer); -- The svg printer object instance.

private

   -- Private representation.
   type SVG_Printer is
     new Printer with null record;

   -- Work-around for GNAT bug.
   SVG_Printer_Tag : constant String := "printers.svg.svg_printer";

end Printers.SVG;