//:Header:43, "_RECT", 3b93fb56 // // File: ll2d_srect.h // // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // // Struktur für ein Rechteck. Beschrieben wird das Rechteck durch zwei Koordinaten // left/top bzw. x1,y1 und right/bottom bzw. x2,y2. // // Die Bezeichnungen w,h bzw widht, height beschreiben spezielle Rechtecke dessen // top/left Werte 0 sind. // // Diese Struktur wird für alle llgfx Funktionen mit Rechteckigen Bereichen // verwendet. // // Siehe: // ll2d_rect.h : Rechteck Hilfsfunktionen // //:----------------------------------------------------------------------------- #if !defined(_LL2D_RECT_H) #define _LL2D_RECT_H //:> +--------------------------------+ //:>---------------------| _RECT Struct Declaration |--------------------- //:> +--------------------------------+ //:Class struct _RECT { //:=269 // +---------+ // | union | // +---------+ union { int x; int x1; int left; }; //:=270 // +---------+ // | union | // +---------+ union { int y; int y1; int top; }; //:=271 // +---------+ // | union | // +---------+ union { int width; int x2; int right; }; //:=272 // +---------+ // | union | // +---------+ union { int height; int y2; int bottom; }; }; //:Custom typedef struct _RECT llgfx_sRECT; typedef struct _RECT s_rect; //:End Custom #endif // _LL2D_RECT_H