| Home
| Previous
| Next
| Up

GM_stretchType

Declaration

typedef enum {
GM_STRETCH_1x1,
GM_STRETCH_1x2,
GM_STRETCH_2x2
} GM_stretchType

Prototype In

gm\gm.h

Description

Stretch flags to pass to GM_setMode. The 1x2 stretch is useful for rendering in 320x200/240 modes on hardware that can't do double scanning but does support 320x400/480 modes natively. 1x2 stretching in the MGL is very efficient so this is better than rendering at 320x400 natively if each pixel takes a lot of computation time.

Members

GM_STRETCH_1x1 | No stretching
GM_STRETCH_1x2 | 1x2 stretch (2x vertical stretch)
GM_STRETCH_2x2 | 2x2 stretch (2x stretch in both X and Y)

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com