Pixel Scaling
Use these constants with theDSpContext_SetScale
function to indicate how to perform pixel scaling.
enum DSpBufferScale { kDSpBufferScale_1 = 0x00000001U, kDSpBufferScale_2 = 0x00000002U, kDSpBufferScale_2Interpolate= 0x80000002U, kDSpBufferScale_3 = 0x00000003U, kDSpBufferScale_3Interpolate= 0x80000003U, kDSpBufferScale_4 = 0x00000004U, kDSpBufferScale_4Interpolate= 0x80000004U }; typedef enum DSpBufferScale DSpBufferScale;Constant descriptions
kDSpBufferScale_1
- No pixel scaling.
- kDSpBufferScale_2
- Scale the back buffer by a factor of 2.
- kDSpBufferScale_2Interpolate
- Scale by a factor of 2 and interpolate when the image is drawn to the display.
- kDSpBufferScale_3
- Scale the back buffer by a factor of 3.
- kDSpBufferScale_3Interpolate
- Scale by a factor of 3 and interpolate when the image is drawn to the display.
- kDSpBufferScale_4
- Scale by a factor of 4.
- kDSpBufferScale_4Interpolate
- Scale by a factor of 4 and interpolate when the image is drawn to the display.