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



DrawOnForeignCanvas


Unit:SDL_plot3d
Class: TPlot3D
Declaration: procedure DrawOnForeignCanvas (cv: TCanvas);

The method DrawOnForeignCanvas draws the 3D surface on the canvas cv with the top left position at [0,0]. If you want to shift the 3D surface you have to adjust the properties CentX and CentY.

Hint: Please note that the procedure DrawOnForeignCanvas does not clip the image. Thus the resulting image will display the entire 3D plot unless the size of the foreign canvas is restricted in some way.



Last Update: 2023-Dec-13