Hosted by
|
with Ada.Tags; use Ada.Tags;
with Font_Loaders; use Font_Loaders;
with Printers; use Printers;
with Glyphs; use Glyphs;
package Boxes.Arcs is
type Arc_Box is new Box with private;
Arc_Box_Tag : constant String;
type Arc_Box_Access is access all Arc_Box;
function Create
return Arc_Box_Access;
procedure Layout
(This : access Arc_Box;
Font : access Font_Loader);
procedure Print
(This : access Arc_Box;
To : access Printer'Class;
Center : in Vector);
private
type Arc_Box is
new Box with
record
Glyph : Glyph_Access;
end record;
Arc_Box_Tag : constant String := "boxes.arcs.arc_box";
end Boxes.Arcs;
|