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....



DrawToRelPix


Unit:SDL_polchart
Class: TPolChart
Declaration: procedure DrawToRelPix (dx, dy: integer);

The method DrawToRelPix draws a line from the current cursor position (CP) to the point (CP+dx,CP+dy). The coordinates dx and dy are pixel coordinates of the chart window, thus providing a way to draw elements which are independent of the scaling of the chart.



Last Update: 2023-Dec-13