I use TEllipse as an example. My question was if I can dinamically construct graphical primitives objects and attach them to the canvas, being sure that they will be deleted with the canvas and i do not commit some other memory management error.
When clearing a pad, all primitives for which their bit kCanDelete is set are automatically deleted.
When the DrawCopy function is used, the kcanDelete bit is set for the copy.