Hosted by
|
with Straights; use Straights;
with Cubics; use Cubics;
package body Outlines is
procedure Add_Straight
(This : access Outline;
To : in Vector)
is
L : Line_Access := Create(To);
begin
Push(This, L);
end Add_Straight;
procedure Add_Cubic
(This : access Outline;
Control_A : in Vector;
Control_B : in Vector;
To : in Vector)
is
L : Line_Access := Create(To, Control_A, Control_B);
begin
Push(This, L);
end Add_Cubic;
end Outlines;
|