|
![]() |
![]() |
version 2003
PA_SetPictureParameter (params; index; newPicture; pictSize; info)
Parameter | Type | Description | |
params | PA_PluginParameters | → | Parameters received in PluginMain |
index | short | → | Index of the parameter in params |
newPicture | void* | → | Pointer to the new picture data |
pictSize | long | → | New picture size in bytes |
info | PA_PictureInfo | → | Picture info (Background) |
Description
The routine
PA_SetPictureParameter
sets the value of the
index
parameter in
params
to
newPicture
.
Pass a pointer to the data buffer in
newPicture
, its size in bytes in
pictSize
, and the picture information for background drawing in
info
.
Note that
newPicture
is duplicated in the parameter, so
newPicture
still belongs to the plug-in after the call.
The previous picture in the parameter is disposed.
See
Create a new plug-in
for a description of parameter accessors.
NOTE
: