LayOut C API
|
Go to the source code of this file.
Functions | |
LO_RESULT | LOLayerListCreate (LOLayerListRef *layer_list) |
Creates a new empty layer list object. More... | |
LO_RESULT | LOLayerListRelease (LOLayerListRef *layer_list) |
Releases a layer list object. *layer_list will be set to invalid by this function. More... | |
LO_RESULT | LOLayerListGetNumberOfLayers (LOLayerListRef layer_list, size_t *num_layers) |
Gets the number of layer definitions in the list. More... | |
LO_RESULT | LOLayerListGetLayerAtIndex (LOLayerListRef layer_list, size_t index, LOLayerRef *layer) |
Gets the layer definition at the specified index. More... | |
LO_RESULT LOLayerListCreate | ( | LOLayerListRef * | layer_list | ) |
Creates a new empty layer list object.
[out] | layer_list | The layer definition list object. |
LO_RESULT LOLayerListGetLayerAtIndex | ( | LOLayerListRef | layer_list, |
size_t | index, | ||
LOLayerRef * | layer | ||
) |
Gets the layer definition at the specified index.
[in] | layer_list | The layer definition list object. |
[in] | index | The index of the layer definition object to get. |
[out] | layer | The layer definition object. |
LO_RESULT LOLayerListGetNumberOfLayers | ( | LOLayerListRef | layer_list, |
size_t * | num_layers | ||
) |
Gets the number of layer definitions in the list.
[in] | layer_list | The layer definition list object. |
[out] | num_layers | The number of layer definitions in the list. |
LO_RESULT LOLayerListRelease | ( | LOLayerListRef * | layer_list | ) |
Releases a layer list object. *layer_list will be set to invalid by this function.
[in] | layer_list | The layer definition list object. |