Create a new layer behind all existing layers.
Source position: layers.pas line 101
function CreateBehindLayer( |
LayerInfo: PLayer_Info; |
Bitmap1: PBitMap; |
x0: LongInt; |
y0: LongInt; |
x1: LongInt; |
y1: LongInt; |
Flags: LongInt; |
SuperBitmap2: PBitMap |
):PLayer; |
LayerInfo: PLayer_Info; |
Bitmap1: PBitMap; |
x0: LongInt; |
y0: LongInt; |
x1: LongInt; |
y1: LongInt; |
Flags: LongInt; |
TagList: PTagItem |
):PLayer; |
x0 |
|
left corner of layer |
y0 |
|
upper corner of layer |
x1 |
|
right corner of layer |
y1 |
|
lower corner of layer |
Flags |
|
various types of layers supported as bit sets. Flags: LAYER* |
pointer to Layer structure if successful nil if not successful
x0 |
|
left corner of layer |
y0 |
|
upper corner of layer |
x1 |
|
right corner of layer |
y1 |
|
lower corner of layer |
Flags |
|
various types of layers supported as bit sets. Flags: LAYER* |
Create a new Layer of position and size (x0,y0)->(x1,y1) Make this layer of type found in flags. If SuperBitMap, use bm2 as pointer to real SuperBitMap, and copy contents of Superbitmap into display layer. If this layer is a backdrop layer then place it behind all other layers including other backdrop layers. If this is not a backdrop layer then place it behind all nonbackdrop layers.
Attention
When using bm2 SuperBitmap, you should also set LAYERSMART flag.