graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP
branchRCL_3
changeset 7 5e51caaeeb72
parent 0 5d03bc08d59c
child 19 bbf46f59e123
--- a/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP	Tue Apr 27 17:59:32 2010 +0300
+++ b/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP	Tue May 11 17:25:23 2010 +0300
@@ -32,6 +32,11 @@
 
 /**Initializes iSize, iDrawRect, iLongWidth, iScanLineBytes, iScanlineWords data members.
  It should be called every time when iSize is going to be changed - from Construct().
+ If you are calling SetSize for an offscreen bitmap then this function operates correctly 
+ but for hardware bitmaps the calculated values for iScanLineWords and iLongWidth members 
+ may not be compatible. For hardware bitmaps you should explicitly set iScanLineWords to 
+ a correct value as shown in CGuidScreenDevice<T,guidMode,pixelsPerWord>::SetDeviceOrientation.
+
 
  @param aSize Physical screen size in pixels.
  @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the