You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Matrix object stores only 6 of 9 numbers in 3 x 3 matrix.
Because all 3 x 3 matrices that represent affine transformations
have the same third column |0, 0, 1|
Note that, new container will reset compositing quality, smoothing mode, and etc.
g.SetSmootingMode(Gdiplus::SmoothingMode::SmoothingModeHighQuality);
// Smoothing mode is activated.
g.BeginContainer(...);
// Inside new container, smoothing mode is reset and deactivated.// Draws shapes without antialiasing.
g.EndContainer();
// Smoothing mode is restored and actived. (maybe, not tested)
Regions can also be created from the interiors of rectangles, paths, or a combination of these. Regions are used in clipping and hit-testing operations.
Image & Bitmap & Metafile
Image class
provides methods for loading and saving raster images and vector images:
BMP, ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF.
Image base class
|- Bitmap
`- Metafile
GdiplusBase
`- CachedBitmap (NOTE: Not inherited class from Image)
Drawing
Graphics::DrawImage
Caching
Graphics::DrawCachedBitmap
Graphics::CachedBitmap
Metafile (*.EMF: Sequence of graphics API calls)
The Metafile class defines a graphic metafile. A metafile contains records that describe a sequence of graphics API calls. Metafiles can be recorded (constructed) and played back (displayed).