PDA

View Full Version : Help me: test this bundled Exe



ErosOlmi
27-05-2013, 22:56
Can you make a favor?
Attached to this post an example of new functionalities will be present in next thinBasic beta 1.9.7.0

Can you please try it and let me know if any problem?
Also let me know your OS version.

It is a little Canvas control showing Bezier curves Windows Api.
This example will be released as source code in next thinBasic version.

Thanks a lot
Eros

PS: merit of source code goes to Jordi Vallès, a PB user that published the original example at http://www.powerbasic.com/support/pbforums/showthread.php?t=45509&highlight=bezier
I just translated it into a thinBasic source code.

ReneMiner
28-05-2013, 07:41
It runs pretty well, only thing is the dragging which does not always respond - quite hard to meet the points if not "show projection" checked.

Petr Schreiber
28-05-2013, 09:36
Example runs great here,

only thing from graphic maniac - I would recommend to double buffer the rendering, to avoid flicker when changing parameters (roundness).
This is done easily - by attaching the canvas with TRUE flag and calling Canvas_Redraw after both background and points/lines are drawn.


Petr

SteveOW
29-05-2013, 16:24
Works fine here on Windows7 32bit.

Maybe one day there will be thinAutocad!

Steve.

ErosOlmi
09-06-2013, 23:36
Source code of this example has been released with thinBasic 1.9.7.0
It can be found after installing thinBasic under \thinBasic\SampleScripts\UI\Canvas\Bezier\ directory.

Have fun