683 views
in GUI Development by
Hello,

I'm using overrided Draw function to draw a filled polygon. Code simply looks something like this: aCanvas.FillPolygon(aClip, ...., aBlend). So.. is there any way to get access to this polygon outside of the draw function, for example, to change its position or geometry or to use Pulse color effect?

Thank you.

1 Answer

0 votes
by

Hello,

it seems that you are drawing the polygon programmatically - so there is no object to be accessed. If you animate the object where you have overriden the Draw() method, then the method will be called automatically due to effect.

Nevertheless - let me recommend to use Embedded Wizard version 9.00, there is no need to implement your own Draw() method - you can use the StrokePath view to show your path data.

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...