DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦b89ee16ff⟧ TextFile

    Length: 1802 (0x70a)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Easy_X;

package body Graphiques is
    procedure Move (X : in Integer; Y : in Integer) is
    begin  
        X_Courant := X;
        Y_Courant := Y;
        Easy_X.Move_To (Easy_X.Coordinate (X_Courant),
                        Easy_X.Coordinate (Y_Courant));
    end Move;


    procedure Draw (X : in Integer; Y : in Integer) is
    begin
        Easy_X.Move_To (Easy_X.Coordinate (X_Courant),
                        Easy_X.Coordinate (Y_Courant));
        X_Courant := X;
        Y_Courant := Y;
        Easy_X.Line_To (Easy_X.Coordinate (X_Courant),
                        Easy_X.Coordinate (Y_Courant));
    end Draw;


    procedure Carre (X : in Integer; Y : in Integer; Cote : in Integer) is
    begin
        Move (X, Y);
        Draw (X + Cote, Y);
        Draw (X + Cote, Y + Cote);
        Draw (X, Y + Cote);
        Draw (X, Y);
    end Carre;


    procedure Plot (X : in Integer; Y : in Integer) is
    begin
        X_Courant := X;
        Y_Courant := Y;
        Easy_X.Move_To (Easy_X.Coordinate (X_Courant),
                        Easy_X.Coordinate (Y_Courant));
        Easy_X.Line_To (Easy_X.Coordinate (X_Courant),
                        Easy_X.Coordinate (Y_Courant));
    end Plot;


    procedure Rectangle (X1 : in Integer;
                         Y1 : in Integer;
                         X2 : in Integer;
                         Y2 : in Integer) is
    begin
        Easy_X.Move_To (Easy_X.Coordinate (X1), Easy_X.Coordinate (Y1));
        Easy_X.Line_To (Easy_X.Coordinate (X2), Easy_X.Coordinate (Y1));
        Easy_X.Line_To (Easy_X.Coordinate (X2), Easy_X.Coordinate (Y2));
        Easy_X.Line_To (Easy_X.Coordinate (X1), Easy_X.Coordinate (Y2));
        Easy_X.Line_To (Easy_X.Coordinate (X1), Easy_X.Coordinate (Y1));
    end Rectangle;

end Graphiques;