Hi,

  You got to take a look at their documentation. But here is a quick
glimpse:

* IupCanvas - the main control, where you can draw, all others inherit from
this one
* IupBackgroundBox - inherits from IupCanvas, but it is a container. So it
is a container where you can draw or simply control the background color
below other controls.
* IupGLCanvas - inherits from IupCanvas, but adds OpenGL support.
* IupGLBackground - inherits from IupGLCanvas, but it is a container like
IupBackgroundBox. Same purpose but with OpenGL support.
* IupGLCanvasBox - same as IupGLBackground, but it is designed for being
the parent of a set of OpenGL based controls in the IupGLControls library.
It has a more complex implementation than IupGLBackground so we decided to
leave it as a separate control
* IupGLSubCanvas - a virtual canvas used for the OpenGL based controls. It
is not actually a canvas, it is a region inside the IupGLCanvasBox used as
base for the IupGLControls library elements.

Best,
Scuri




Em sáb., 13 de jun. de 2020 às 01:09, Milind Gupta <milind.gu...@gmail.com>
escreveu:

> Hi Antonio,
>         I am a little confused about all the canvas options in IUP. I
> found these:
>
> * iupcanvas
> * IupBackgroundBox
> * IupGLCanvas
> * IupGLBackground
> * IupGLCanvasBox
> * IupGLSubCanvas
>
> All of them can act like a canvas I believe. What are the specific
> instances when each of them should be used?
>
> Regards,
> 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

Reply via email to