This shows you the differences between two versions of the page.
documentation:development:opera:pf25:ppgfldr:ggsfldr:gpgfldr:4gpgj [2022/11/07 14:49] – created - external edit 127.0.0.1 | documentation:development:opera:pf25:ppgfldr:ggsfldr:gpgfldr:4gpgj [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Controlling Pixel Interpolation ====== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | In its default state, the display generator practices full pixel interpolation for all 320-by-240 pixels it receives from a screen. If you'd like to turn off interpolation for that " | ||
+ | |||
+ | < | ||
+ | int32 DisableHAVG( Item screenItem ) | ||
+ | |||
+ | int32 DisableVAVG( Item screenItem ) | ||
+ | |||
+ | </ | ||
+ | |||
+ | The first call disables horizontal interpolation for the specified screen; the second call disables vertical interpolation for the specified screen. If either call is successful, it returns a zero. If unsuccessful, | ||
+ | |||
+ | To turn interpolation back on, use these two calls: | ||
+ | |||
+ | < | ||
+ | int32 EnableHAVG( Item screenItem ) | ||
+ | |||
+ | int32 EnableVAVG( Item screenItem ) | ||
+ | |||
+ | </ | ||
+ | |||
+ | The first call enables horizontal interpolation for the specified screen; the second call enables vertical interpolation for the specified screen. If either call is successful, it returns a 0. If unsuccessful, | ||
+ | |||