-- $Date: 2004/03/08 10:37:32 $
-- $Revision: 1.6 $
-- $Author: jcrocholl $
-- $Hash: b961dd041f35af00d9ff51226f64e239 $

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

with Ada.Tags; use Ada.Tags;
with Font_Loaders; use Font_Loaders;
with Printers; use Printers;
with Glyphs; use Glyphs;

package Boxes.Arcs is

   -- Public representation.
   type Arc_Box is new Box with private;

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

   -- Pointer to representation data.
   type Arc_Box_Access is access all Arc_Box;

   -- Constructor for instances.
   function Create
     return Arc_Box_Access-- The newly created arc box.

   procedure Layout
     (This : access Arc_Box;      -- The arc box object instance.
      Font : access Font_Loader); -- Use this font loader.

   procedure Print
     (This   : access Arc_Box;            -- The arc box object instance.
      To     : access Printer'Class-- Render to this printer.
      Center : in Vector);                -- Center of container.

private

   -- Private representation.
   type Arc_Box is
     new Box with
      record
         Glyph : Glyph_Access-- The glyph for the arc.
      end record;

   -- Work-around for GNAT bug.
   Arc_Box_Tag : constant String := "boxes.arcs.arc_box";

end Boxes.Arcs;