Scale modes

From Bennu Wiki
Revision as of 05:45, 8 November 2009 by Sandman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Definition

Scale modes are used to set the mode of scaling, by assigning one of them to the global variable scale_mode.

List

Constant - Value - Description
SCALE_NONE - 0 - No scale.
SCALE_SCALE2X - 1 - Scale two times; use some filter. Looks like MODE_2XSCALE.
SCALE_HQ2X - 2 - Scale two times; use HQ filter. Looks nice, runs slower.
SCALE_SCANLINE2X - 3 - Scale two times; use scanline filter.
SCALE_NORMAL2X - 4 - Scale two times; no extra filter. Also called SCALE_NOFILTER.