The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DrawTo


Unit: SDL_rchart
Class: TSmithChart
Declaration: [1] procedure DrawTo (x,y: double);
[2] procedure DrawTo (x,y: integer);
[3] procedure DrawTo (x: integer; y: double);
[4] procedure DrawTo (x: double; y: integer);

DrawTo can draw in two different coordinate systems: version [1] uses the world coordinates (these are the coordinates shown at the axes of the chart), version [2] uses the screen coordinates in pixels, versions [3] and [4] provide a mixed coordinates mode. Using screen coordinates has the effect that the end of the line remains at a fixed position even if the chart is panned or zoomed.

Note that the cursor position is updated to the position (x,y). The line width may be adjusted by the property LineWidth. The color of the voids in dashed lines is controlled by the property FillColor.

Hint: In the Light Edition the number of chart elements is restricted to 1000 elements.



Last Update: 2017-Okt-13