- //
- // Flip the picture as OS/2 is upside-down
- //
- if (rBmp.Flip())
- {
- vPoint[0].x = vX;
- vPoint[0].y = vY + rBmp.GetHeight();
- vPoint[1].x = vX + rBmp.GetWidth();
- vPoint[1].y = vY;
- vPoint[2].x = 0;
- vPoint[2].y = 0;
- vPoint[3].x = rBmp.GetWidth();
- vPoint[3].y = rBmp.GetHeight();
- }
- else
- {
- vPoint[0].x = vX;
- vPoint[0].y = vY;
- vPoint[1].x = vX + rBmp.GetWidth();
- vPoint[1].y = vY + rBmp.GetHeight();
- vPoint[2].x = 0;
- vPoint[2].y = 0;
- vPoint[3].x = rBmp.GetWidth();
- vPoint[3].y = rBmp.GetHeight();
- }
+ vPoint[0].x = vX;
+ vPoint[0].y = vY + rBmp.GetHeight();
+ vPoint[1].x = vX + rBmp.GetWidth();
+ vPoint[1].y = vY;
+ vPoint[2].x = 0;
+ vPoint[2].y = 0;
+ vPoint[3].x = rBmp.GetWidth();
+ vPoint[3].y = rBmp.GetHeight();