Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
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;
}