|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....|
|Home ChartPack RChart Class TContourPlot Methods DrawToRelPix|
|See also: DrawTo, MoveToRelPix (ContourPlot)|
The method DrawToRelPix comes in two overloaded versions. Version  draws a line from the current cursor position (CP, in pixel coordinates) to the point (CP+dx,CP+dy), while version  draws this line from the position [x,y].
The length and direction of the line to be drawn is specified by pixel coordinates of the chart window (dx and dy), thus providing a way to draw elements which are independent of the scaling of the chart.