Lines Matching refs:Gdiplus
649 static inline void EMFSetDimensions(Image * image,Gdiplus::Image *source) in EMFSetDimensions()
654 image->columns=(size_t) floor((Gdiplus::REAL) source->GetWidth()/ in EMFSetDimensions()
656 image->rows=(size_t)floor((Gdiplus::REAL) source->GetHeight()/ in EMFSetDimensions()
663 Gdiplus::Bitmap in ReadEMFImage()
666 Gdiplus::BitmapData in ReadEMFImage()
669 Gdiplus::GdiplusStartupInput in ReadEMFImage()
672 Gdiplus::Graphics in ReadEMFImage()
675 Gdiplus::Image in ReadEMFImage()
678 Gdiplus::Rect in ReadEMFImage()
716 if (Gdiplus::GdiplusStartup(&token,&startup_input,NULL) != in ReadEMFImage()
717 Gdiplus::Status::Ok) in ReadEMFImage()
720 source=Gdiplus::Image::FromFile(fileName); in ReadEMFImage()
721 if (source == (Gdiplus::Image *) NULL) in ReadEMFImage()
723 Gdiplus::GdiplusShutdown(token); in ReadEMFImage()
760 Gdiplus::GdiplusShutdown(token); in ReadEMFImage()
767 Gdiplus::GdiplusShutdown(token); in ReadEMFImage()
771 bitmap=new Gdiplus::Bitmap((INT) image->columns,(INT) image->rows, in ReadEMFImage()
773 graphics=Gdiplus::Graphics::FromImage(bitmap); in ReadEMFImage()
774 graphics->SetInterpolationMode(Gdiplus::InterpolationModeHighQualityBicubic); in ReadEMFImage()
775 graphics->SetSmoothingMode(Gdiplus::SmoothingModeHighQuality); in ReadEMFImage()
776 graphics->SetTextRenderingHint(Gdiplus::TextRenderingHintClearTypeGridFit); in ReadEMFImage()
777 graphics->Clear(Gdiplus::Color((BYTE) ScaleQuantumToChar( in ReadEMFImage()
786 rect=Gdiplus::Rect(0,0,(INT) image->columns,(INT) image->rows); in ReadEMFImage()
787 if (bitmap->LockBits(&rect,Gdiplus::ImageLockModeRead,PixelFormat32bppARGB, in ReadEMFImage()
788 &bitmap_data) != Gdiplus::Ok) in ReadEMFImage()
791 Gdiplus::GdiplusShutdown(token); in ReadEMFImage()
820 Gdiplus::GdiplusShutdown(token); in ReadEMFImage()