A double buffer canvas such as CD_IUPDBUFFER is actually a CD_IUP that
automatically manages an image where everything is draw and this image is
drawn in the CD_IUP canvas when flush is called.

  So, you can do any buffers you want but you will have to manually manage
the image using cdCanvasCreateImage and a CD_IMAGE canvas to draw in the
image. Notice that your main canvas can still be a  CD_IUPDBUFFER.

Best,
Scuri


Em sex., 24 de jan. de 2020 às 19:06, Milind Gupta <milind.gu...@gmail.com>
escreveu:

> Hi,
>          Is it possible to add a buffer to a buffer canvas? If there is a
> part of a drawing that rarely changes it can be drawn in the 3rd canvas and
> flushed to the buffer canvas before doing the other changes.
>
> Milind
> _______________________________________________
> Canvasdraw-users mailing list
> canvasdraw-us...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/canvasdraw-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to