BitmapImage* BitmapImage::New( PixelBuffer* pixBuf, unsigned int width, unsigned int height, Pixel::Format pixelformat, unsigned int stride, ReleasePolicy releasePol ) { BitmapImage* internal = new BitmapImage( pixBuf, width, height, pixelformat, stride, releasePol ); internal->Initialize(); return internal; }
BitmapImage* BitmapImage::New( unsigned int width, unsigned int height, Pixel::Format pixelformat, LoadPolicy loadPol, ReleasePolicy releasePol ) { BitmapImage* internal = new BitmapImage( width, height, pixelformat, loadPol, releasePol ); internal->Initialize(); return internal; }