graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP
branchRCL_3
changeset 7 5e51caaeeb72
parent 0 5d03bc08d59c
child 19 bbf46f59e123
equal deleted inserted replaced
6:de3d5b6102ac 7:5e51caaeeb72
    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 
    35 
    40 
    36  @param aSize Physical screen size in pixels.
    41  @param aSize Physical screen size in pixels.
    37  @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the
    42  @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the
    38  device is scaled and the scaling origin goes outside physical drawing rectangle. */
    43  device is scaled and the scaling origin goes outside physical drawing rectangle. */
    39 void CDrawThirtyTwoBppBitmapCommon::SetSize(const TSize& aSize)
    44 void CDrawThirtyTwoBppBitmapCommon::SetSize(const TSize& aSize)