PlanetSquires Forums

Support Forums => General Board => Topic started by: Jean-pierre Leroy on August 26, 2012, 12:23:02 PM

Title: New graphic control demo (GraphCtx) from Jose Roca
Post by: Jean-pierre Leroy on August 26, 2012, 12:23:02 PM
Dear FireFly users,

I'm happy to share with you a sample FireFly project that illustrates some aspects of the new graphic control (GraphCtx) made by Jose Roca and available since FireFly 3.61.

This project GraphCtxDemo illustrates how to ...

1. use some GDI+ examples made by Jose Roca with FireFly:


2. use some basic GraphCtx functions:


Notes:

Your feedback is welcome
Jean-Pierre
Title: Re: New graphic control demo (GraphCtx) from Jose Roca
Post by: Jean-pierre Leroy on August 27, 2012, 04:38:50 AM
Paul, Jose,

Just a small point:

In this demo I need to send to the control a FF_Control_Redraw ...

FF_Control_Redraw HWND_FORM1_GRAPHICCONTROL1

... after each call to Jose examples (GDIP_DrawLine(), GDIP_DrawLines(), GDIP_DrawSpheres(), etc ...) in order to display the graphic.

Is-it the normal behavior for this control ?

Thanks
Jean-Pierre