BackSurface is a pointer to the backbuffer surface.
__property TIvorySurface* BackSurface;
Description
The backbuffer surface is a special surface. You draw everything on he backbuffer that you want to be shown on the screen. Use the Flip method to copy the backbuffer to the screen. It is not recommended to draw directly on the screen, because it would cause flickering. Draw on the backbuffer instead.
BackSurface is a published property,
so you can assign a surface to it in the object inspector. It doesn't mean that you must create and
assign a backbuffer surface on your own. If you leave this property empty (NULL),
Ivory Draw creates the backbuffer surface automatically. In this case, you can't manipulate the
properties for the backbuffer surface from the object inspector.
It is usually a good practice to drop down a TIvorySurface component by the
TIvoryDraw and to assign the surface to the BackSurface
property. The advantage of the technique is that you can manupulate the properties for the
backbuffer surface from the object inspector. Note that the AutoCreate,
Height, and Width properties
for the backbuffer surface are not meaningful. No matter how do you set them, Ivory Draw
automatically creates the backbuffer surface, and the size of the backbuffer surface is always
the same as the screen resolution.