graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP
branchRCL_3
changeset 19 bbf46f59e123
parent 7 5e51caaeeb72
child 20 25ffed67c7ef
equal deleted inserted replaced
18:57c618273d5c 19:bbf46f59e123
    30 	*aPixelPtr = rb | (g<<8) | 0xff000000;
    30 	*aPixelPtr = rb | (g<<8) | 0xff000000;
    31 	}
    31 	}
    32 
    32 
    33 /**Initializes iSize, iDrawRect, iLongWidth, iScanLineBytes, iScanlineWords data members.
    33 /**Initializes iSize, iDrawRect, iLongWidth, iScanLineBytes, iScanlineWords data members.
    34  It should be called every time when iSize is going to be changed - from Construct().
    34  It should be called every time when iSize is going to be changed - from Construct().
    35  If you are calling SetSize for an offscreen bitmap then this function operates correctly 
       
    36  but for hardware bitmaps the calculated values for iScanLineWords and iLongWidth members 
       
    37  may not be compatible. For hardware bitmaps you should explicitly set iScanLineWords to 
       
    38  a correct value as shown in CGuidScreenDevice<T,guidMode,pixelsPerWord>::SetDeviceOrientation.
       
    39 
       
    40 
    35 
    41  @param aSize Physical screen size in pixels.
    36  @param aSize Physical screen size in pixels.
    42  @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the
    37  @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the
    43  device is scaled and the scaling origin goes outside physical drawing rectangle. */
    38  device is scaled and the scaling origin goes outside physical drawing rectangle. */
    44 void CDrawThirtyTwoBppBitmapCommon::SetSize(const TSize& aSize)
    39 void CDrawThirtyTwoBppBitmapCommon::SetSize(const TSize& aSize)