[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The functions described in this section are generally not safe to use with
Intuition.  To create new layers for Intuition you use Intuition window
calls (see the "Intuition Windows" chapter earlier in this book).

Only applications that create and mange their own View will be able to
call the layer creation and updating functions discussed here.


         Table 30-3: Functions for Creating and Updating Layers
   ___________________________________________________________________
  |                                                                   |
  |              NewLayerInfo()  Allocating a Layer_Info structure.   |
  |          DisposeLayerInfo()  Deallocating a Layer_Info structure. |
  |-------------------------------------------------------------------|
  |        CreateUpfrontLayer()  Make a new layer in front of others. |
  |         CreateBehindLayer()  Make a new layer behind others.      |
  |               DeleteLayer()  Remove and delete an existing layer. |
  |-------------------------------------------------------------------|
  |                 MoveLayer()  Change the position (not depth) of a |
  |                              layer.                               |
  |                 SizeLayer()  Change the size of a layer.          |
  |               ScrollLayer()  Change the internal coordinates of a |
  |                              layer.                               |
  |-------------------------------------------------------------------|
  |               BehindLayer()  Depth arrange a layer behind others. |
  |              UpfrontLayer()  Depth arrange a layer in front of    |
  |                              others.                              |
  |        MoveLayerInFrontOf()  Depth arrange a layer to a specific  |
  |                              position.                            |
  |-------------------------------------------------------------------|
  |  SwapBitsRastPortClipRect()  Fast, non-layered and non-damaging   |
  |                              display operation.                   |
  |-------------------------------------------------------------------|
  |               BeginUpdate()  Synchronize optimized refreshing for |
  |                              layer.                               |
  |                 EndUpdate()  End optimized layer refresh.         |
  |___________________________________________________________________|


 Creating a Viewing Workspace 
 Creating the Layers 
 Allocating and Deallocating Layer_Info 
 Allocating and Deallocating Layers 
 Moving and Sizing Layers 
 Changing a Viewpoint 
 Reordering Layers 
 Sub-Layer Rectangle Operations