GRAPHIC SET FIXED statement  

Purpose

Restores a graphic target to standard fixed mode.

Syntax

GRAPHIC SET FIXED

Remarks

The attached graphic target is restored to the standard FIXED mode.  The drawing area is set equal to the physical size of the display area, which is not changed.  

When executed, it is assumed that the graphic subsystem is set to AUTOSIZE or VIRTUAL mode.  If not, no operation is performed.  A new bitmap of the client area size is created.  The original bitmap is copied, pixel for pixel, at the existing size.  Any expanded area is filled with the current background color.  Your program draws to it in the normal fashion for a bitmap of the new size.

If a clip area had been established to create margins, it is reset.  If scaled coordinates had been established, they are also reset, as neither would be appropriate for the altered size.  You can enable these attributes again with GRAPHIC SCALE or GRAPHIC SET CLIP, based upon the new size of the drawing area.  You can retrieve the size of the drawing area with GRAPHIC GET CANVAS or GRAPHIC GET CLIENT.

See also

GRAPHIC GET CANVAS, GRAPHIC GET CLIENT, GRAPHIC SCALE, GRAPHIC SET AUTOSIZE, GRAPHIC SET VIRTUAL