Click or drag to resize

GM_LayerList_t Methods

The GM_LayerList_t type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a layer to the list
Public methodClear
Removes all layers from list
Public methodContains
Checks to see if the list contains the given layer
Public methodDispose
Closes all layers in the given list
Public methodDraw
Draws one or more layers to the provided device context at the given location.
Public methodStatic memberDrawLayerList
Draws one or more layers to the provided device context at the given location.
Public methodStatic memberDrawLayerListToMemory
Draws the specified portion of the specified layers to the provided memory buffer. If no layers are explicitly specified, all loaded layers will be drawn.
Public methodDrawToMemory
Draws the specified portion of the specified layers to the provided memory buffer. If no layers are explicitly specified, all loaded layers will be drawn.
Public methodEmpty
Checks to see if layer is empty
Public methodStatic memberGetLoadedLayerList
Returns a list of LayerHandles
Public methodIndexOf
Returns index of the given layer or -1 if not found
Public methodInsert
Inserts at the given index pushing all succeeding items back
Public methodStatic memberLoadLayerList
Loads layer(s) from a file. A pointer to a list containing handles to the loaded layers is returned. Additional load options can be specified using the aExtraLoadOptions string.
Public methodRemove
Removes a given Layer
Public methodRemoveAt
Remove the Layer at a given index
Public methodShowOptionsDialog
Show display options dialog for layer(s)
Public methodToArray
Used to make a standard array of items
Top
See Also