-
This flips a image Down to Up
StretchBlt Star.hdc, _
0, ScaleY(Star.Height, vbTwips, vbPixels), _
ScaleX(Star.Height, vbTwips, vbPixels), -ScaleY(Star.Height, vbTwips, vbPixels), _
Star.hdc, _
0, 0, _
ScaleX(Star.Height, vbTwips, vbPixels), ScaleY(Star.Height, vbTwips, vbPixels), _
vbSrcCopy
How do you Flip a image side to side Using
the same method??
-
Stretchblt is slower than Painpicture, so use this instead:
Code:
PaintPicture Me.Picture, 0, ScaleHeight, ScaleWidth, -ScaleHeight, 0, 0, ScaleWidth, ScaleHeight, vbSrcCopy