> Is it possible to use the PaintTo function and confine the plot inside a region in a given cdcanvas?
No. IupPlot will use all the canvas area. You can draw in an image based canvas and then draw that image into your own canvas. > Also does PaintTo have to be called before the plot is mapped always No > if it is called after the plot is already showing in some dialog we can change its canvas at runtime? The canvas of a IupPlot can not be changed. To paint in another canvas use can use IupPlotPaintTo only. The canvas used in IupPlotPaintTo independs from the IupPlot display or own canvas. Best, Scuri Em qui, 12 de set de 2019 às 21:45, Milind Gupta <milind.gu...@gmail.com> escreveu: > Hi, > Is it possible to use the PaintTo function and confine the plot > inside a region in a given cdcanvas? So if I have a large canvas area where > I have other text, etc. Can I somehow confine the iupplot using paintto to > draw in a certain rectangle region? > Also does PaintTo have to be called before the plot is mapped > always or if it is called after the plot is already showing in some dialog > we can change its canvas at runtime? > > Thanks, > Milind > > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users