Newsgroups: comp.sys.amiga.programmer
Path: utzoo!utgpu!watserv1!watdragon!rose.waterloo.edu!ccplumb
From: ccplumb@rose.waterloo.edu (Colin Plumb)
Subject: Re: Access to graphics primitives from Intuition.
Message-ID: <1991Apr13.083821.6082@watdragon.waterloo.edu>
Sender: news@watdragon.waterloo.edu (News Owner)
Organization: University of Waterloo
References: <1991Apr08.222811.28584@eecs.wsu.edu>
Date: Sat, 13 Apr 1991 08:38:21 GMT
Lines: 26

pcooper@eecs.wsu.edu (Phil Cooper - CS495) wrote:
>  P: 335:
>
>     If you use any of the routines and data structures described in these
>  sections, your program will essentially take over the entire display.
>  It will not, therefore, be compatible with the multi-window operating
>  environment known as Intuition.

>    So, what gives?

That warning only applies to the "Display Routines and Structures section,
from page 335 to 353.  The off-limits routines are LoadView(), MrgCop()
and MakeVPort().  Use the Intuition equivalents RethinkDisplay(),
RemakeDisplay() and MakeScreen() instead.  The double-buffering
techniques described on page 355 doesn't work with intuition, and the
dual-playfield stuff requires some care (although it can be done).
Onther than that, anything goes, particularly pages 357 onwards.
(Although Intuition prepares a RastPort for you when it gives you
a window; there's no need to allocate one of your own.)

Graphics Primitive:		Intuition equivalent:
View				Off-limits
ViewPort			Screen
RastPort			Window
-- 
	-Colin
