1 #ifndef IMAGES_DRAWLIST_H 2 #define IMAGES_DRAWLIST_H 3 4 /* 5 drawlist.image definitions (V45) 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef REACTION_REACTION_H 11 # include <reaction/reaction.h> 12 #endif 13 14 #ifndef INTUITION_IMAGECLASS_H 15 # include <intuition/imageclass.h> 16 #endif 17 18 #pragma pack(2) 19 20 21 /* Attributes defined by drawlist.image */ 22 23 #define DRAWLIST_Dummy (REACTION_Dummy + 0x17000) 24 #define DRAWLIST_Directives (DRAWLIST_Dummy + 1) 25 #define DRAWLIST_RefHeight (DRAWLIST_Dummy + 2) 26 #define DRAWLIST_RefWidth (DRAWLIST_Dummy + 3) 27 #define DRAWLIST_DrawInfo (DRAWLIST_Dummy + 4) 28 29 30 /* drawlist.image primitives */ 31 32 #define DLST_END 0 33 34 #define DLST_LINE 1 35 #define DLST_RECT 2 36 #define DLST_FILL 3 37 #define DLST_ELLIPSE 4 38 #define DLST_CIRCLE 5 39 #define DLST_LINEPAT 6 40 #define DLST_FILLPAT 7 41 #define DLST_AMOVE 8 42 #define DLST_ADRAW 9 43 #define DLST_AFILL 10 44 #define DLST_BEVELBOX 11 45 #define DLST_ARC 12 46 #define DLST_START 13 47 #define DLST_BOUNDS 13 48 #define DLST_LINESIZE 14 49 50 51 struct DrawList 52 { 53 WORD dl_Directive; 54 UWORD dl_X1, dl_Y1; 55 UWORD dl_X2, dl_Y2; 56 WORD dl_Pen; 57 }; 58 59 60 #pragma pack() 61 62 #endif /* IMAGES_DRAWLIST_H */