Page 1 of 1

DLL API for 2D-linestyle, zoom, click and GDI+ support.

Posted: Sat Nov 28, 2009 12:13 am
by muatong
Sorry in fact a few questions :lol:

1. Is there any way to specify the line-style (type, color, width and symbol of a line graph in DLL API. So the external app can specify these attributes.

2. Any DLL API can move to and zoom in a range of X value?

3. Any chance, DPLOT will use GDI+ for trasparent effect soon? In my 2D-line plots, lines are blocking each other.

4. Anyway DLL can give event call back about location of mouse click?

Thanks for the excellent product!

Posted: Sat Nov 28, 2009 8:24 am
by DPlotAdmin
1. Is there any way to specify the line-style (type, color, width and symbol of a line graph in DLL API. So the external app can specify these attributes.
Yes, by calling DPlot_Command with, respectively, LineType, Color, LineWidth, and SymbolType commands.
2. Any DLL API can move to and zoom in a range of X value?
See ManualScale command.
3. Any chance, DPLOT will use GDI+ for trasparent effect soon? In my 2D-line plots, lines are blocking each other.
Doubtful. I've tried to make DPlot as device-independent as possible.
4. Anyway DLL can give event call back about location of mouse click?
Indirectly, and then only if you are displaying the graph within your own application rather than the DPlot application window. See the btest2 and ctest2 demo programs.