Hosted by
|
with Ada.Tags; use Ada.Tags;
with Font_Loaders; use Font_Loaders;
with Printers; use Printers;
with Glyphs; use Glyphs;
with Clefs; use Clefs;
package Boxes.Clefs is
type Clef_Box is new Box with private;
Clef_Box_Tag : constant String;
type Clef_Box_Access is access all Clef_Box;
function Create
(Clef : in Clef_Access)
return Clef_Box_Access;
procedure Layout
(This : access Clef_Box;
Font : access Font_Loader);
procedure Print
(This : access Clef_Box;
To : access Printer'Class;
Center : in Vector);
private
type Clef_Box is
new Box with
record
Clef : Clef_Access;
Glyph : Glyph_Access;
Offset : Real;
end record;
Clef_Box_Tag : constant String := "boxes.clefs.clef_box";
end Boxes.Clefs;
|