src/cinder/msw/CinderMswGdiPlus.cpp File Reference

Namespaces

namespace  cinder
namespace  cinder::msw

Functions

Surface8u cinder::msw::convertGdiplusBitmap (Gdiplus::Bitmap &bitmap, bool premultiplied)
Gdiplus::PixelFormat cinder::msw::surfaceChannelOrderToGdiplusPixelFormat (const SurfaceChannelOrder &sco, bool premultiplied)
 Translates a cinder::SurfaceChannelOrder into a Gdiplus::PixelFormat Supports BGR, BGRX, BGRA. Returns PixelFormatUndefined on failure.
Gdiplus::Bitmap * cinder::msw::createGdiplusBitmap (const Surface8u &surface, bool premultiplied)