Microsoft DirectX 8.1 (C++) |
The SetStretchMode method decides whether the video is to be stretched.
Syntax
void SetStretchMode(void);
Return Value
No return value.
Remarks
When the object is asked to draw an image, the object must know whether the video is being stretched, because it affects the function it calls (BitBlt or StretchBlt, for example). Rather than calculate this for every frame, it works it out just once when the source or destination rectangle is updated. This member function is called by SetSourceRect and SetTargetRect to manage this calculation.
This is a protected member function.
See Also