ZigZag

 

If you use the following image:

image\diffuseglowbefore.gif

And you call the function using the following settings:

Parameter

Value

uAmplitude

47

uAttenuation

92

uFrequency

13

nPhase

-162

CenterPt

(192, 82)

crFill

Black

uFlags

FILL_CLR | ZG_RAD

The following figure results:

image\zigzagcenter.gif

As another settings, if you use the same settings except you use the ZG_POND flag, the following figure results:

image\zigzagpond.gif