Index

C/C++ Functions

pdImgSetFnDraw

void pdImgSetFnDraw(DT_PDDOC power_doc, DT_SLONG img, DT_ID_SWORD fn_draw)

Short Description: Change image's rendering function

The pdImgSetFnDraw function changes the rendering function associated with an existing PowerDoc image. This makes it possible to select a different rendering function for an existing image.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

img

Image's index in the Power Engine document.

fn_draw

The new numerical value of the rendering function to be associated with the specified PowerDoc image. For a list of possible values see pdImgAdd.

Related Functions

pdImgGetFnDraw
pdImgAdd

 

Index