Lines Matching refs:Gdiplus
54 # include <gdiplus.h>
57 # pragma comment(lib, "gdiplus.lib")
647 static inline void EMFSetDimensions(Image * image,Gdiplus::Image *source)
652 image->columns=(size_t) floor((Gdiplus::REAL) source->GetWidth()/
654 image->rows=(size_t)floor((Gdiplus::REAL) source->GetHeight()/
661 Gdiplus::Bitmap
664 Gdiplus::BitmapData
667 Gdiplus::GdiplusStartupInput
670 Gdiplus::Graphics
673 Gdiplus::Image
676 Gdiplus::Rect
714 if (Gdiplus::GdiplusStartup(&token,&startup_input,NULL) !=
715 Gdiplus::Status::Ok)
718 source=Gdiplus::Image::FromFile(fileName);
719 if (source == (Gdiplus::Image *) NULL)
721 Gdiplus::GdiplusShutdown(token);
758 Gdiplus::GdiplusShutdown(token);
765 Gdiplus::GdiplusShutdown(token);
769 bitmap=new Gdiplus::Bitmap((INT) image->columns,(INT) image->rows,
771 graphics=Gdiplus::Graphics::FromImage(bitmap);
772 graphics->SetInterpolationMode(Gdiplus::InterpolationModeHighQualityBicubic);
773 graphics->SetSmoothingMode(Gdiplus::SmoothingModeHighQuality);
774 graphics->SetTextRenderingHint(Gdiplus::TextRenderingHintClearTypeGridFit);
775 graphics->Clear(Gdiplus::Color((BYTE) ScaleQuantumToChar(
784 rect=Gdiplus::Rect(0,0,(INT) image->columns,(INT) image->rows);
785 if (bitmap->LockBits(&rect,Gdiplus::ImageLockModeRead,PixelFormat32bppARGB,
786 &bitmap_data) != Gdiplus::Ok)
789 Gdiplus::GdiplusShutdown(token);
818 Gdiplus::GdiplusShutdown(token);