DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦d87afab74⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Xlbt_Region3, seg_004fe6

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Unchecked_Deallocation;

with Xlbt_Arithmetic;  
use Xlbt_Arithmetic;

package Xlbt_Region3 is
------------------------------------------------------------------------------
-- X Library Regions - Full Interface
--
-- Xlbt_Region3 - Structures for working with regions of images/screens/windows
------------------------------------------------------------------------------
-- Copyright 1989 - 1991 by Rational, Santa Clara, California.
-- Copyright 1987 - 1989 by Digital Equipment Corporation, Maynard, Mass.
-- Copyright 1987 - 1989 by Massachusetts Institute of Technology,
--                          Cambridge, Massachusetts.
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the names of Digital, MIT, or Rational
-- not be used in advertising or publicity pertaining to distribution of
-- the software without specific, written prior permission.
--
-- Digital, MIT, and Rational disclaim all warranties with regard to this
-- software, including all implied warranties of merchantability and fitness,
-- in no event shall Digital, MIT, or Rational be liable for any special,
-- indirect or consequential damages or any damages whatsoever resulting from
-- loss of use, data or profits, whether in an action of contract, negligence
-- or other tortious action, arising out of or in connection with the use or
-- performance of this software.
------------------------------------------------------------------------------

--\x0c
    ------------------------------------------------------------------------------
-- X_Box_Rec
------------------------------------------------------------------------------

    type X_Box_Rec is  
        record  
            X1 : S_Short := 0;  
            X2 : S_Short := 0;  
            Y1 : S_Short := 0;  
            Y2 : S_Short := 0;  
        end record;

    type X_Box_Array is array (S_Natural range <>) of X_Box_Rec;  
    type X_Box_List  is access X_Box_Array;

--/ if Pack then
--//     pragma Pack (X_Box_Array);
--/ end if;
--/ if Enable_Deallocation then
    pragma Enable_Deallocation (X_Box_List);
--/ end if;

    None_X_Box_Rec  : constant X_Box_Rec  := (0, 0, 0, 0);  
    None_X_Box_List : constant X_Box_List := null;

    procedure Free_X_Box_List is new Unchecked_Deallocation (X_Box_Array,  
                                                             X_Box_List);

------------------------------------------------------------------------------
-- Return values from X_Rect_In_Region()
------------------------------------------------------------------------------

    type X_Rect_In_Region_Returns is (Rectangle_Out,  
                                      Rectangle_In,  
                                      Rectangle_Part);

------------------------------------------------------------------------------
-- X_Region - clip regions
------------------------------------------------------------------------------

    type X_Region_Rec is  
        record  
            Size      : S_Natural  := 0;  
            Num_Rects : S_Natural  := 0;  
            Rects     : X_Box_List := null;  
            Extents   : X_Box_Rec;  
        end record;

    type X_Region is access X_Region_Rec;

    None_X_Region : constant X_Region := null;

    procedure Free_X_Region (Region : in out X_Region);

--/ if Enable_Deallocation then
    pragma Enable_Deallocation (X_Region);
--/ end if;

end Xlbt_Region3;  

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=17 rec1=00 rec2=01 rec3=08a
        [0x01] rec0=13 rec1=00 rec2=02 rec3=020
        [0x02] rec0=1c rec1=00 rec2=03 rec3=068
        [0x03] rec0=1b rec1=00 rec2=04 rec3=000
    tail 0x215009700819784c9d8f2 0x42a00088462063203