The Amiga uses color registers and bitplane organization as its internal representation of display data. Screens require a color table and display raster memory for each bitplane. This is the memory where imagery is rendered and later translated by the hardware into the actual video display. This information is contained in data structures from the Amiga's graphics library. A viewport is the main data structure used by the graphics library to represent a screen. Pointers to each of the screen's bitplanes are stored in the graphics library bitmap structure. color table information is stored in a graphics structure called a colormap. and the screen's drawing and font information is stored in the rastport structure. The graphics rastport structure is a general-purpose handle that the graphics library uses for drawing operations. Many Intuition drawing functions also take a RastPort address as a parameter. This makes sense since the RastPort structure contains drawing variables as well as a pointer to the bitmap telling where to draw. see the "graphics primitives" chapter for more information on these structures and how they are used. the intuition screen data structure other screen data structures