This wiki is out of date, use the continuation of this wiki instead

Scale modes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:05, 4 May 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (01:11, 29 December 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(3 intermediate revisions not shown.)
Line 3: Line 3:
== Definition == == Definition ==
Scale modes are used to set the mode of scaling, by assigning one of them to the [[global variable]] [[scale_mode]]. Scale modes are used to set the mode of scaling, by assigning one of them to the [[global variable]] [[scale_mode]].
 +
 +''Available since [[Fenix]] [[0.88]].''
== List == == List ==

Current revision


[edit] Definition

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

Available since Fenix 0.88.

[edit] 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.
Personal tools