To follow my tutorial videos, we need to meet the followings;
Mathematical Prerequisit: Linear transformation, Trigonometry
Determination and burning desire to learn 2d graphics
Download sample source code (43 MB).
MD Code: af0b4406adbeef2c48e3f52ac3394916
In this session, we will create our first MFC application and enable Direct2D.
002. MFC Extension DLL
In this session, we will learn how to create MFC Extension DLL.
In this session, we will learn pimpl idiom. The pimpl idiom is a modern C++ technique to hide implementation, to minimize coupling, and to separate interfaces. Pimpl is short for "pointer to implementation." For more information, please refer to Pimpl For Compile-Time Encapsulation and Opaque pointer.
004. Transformation Theory
In this session, we will learn about linear transformation. If you fail to understand Linear Transformation, you may not be able to implement computer graphics.
In this session, we will apply Linear Transformation Theory to our application.
In this session, we will ploy a quadratic equation and a circle.
007. How to Plot Equations on Polar Coordinate System
In this session, we will learn about polar coordinate system and plot a heart.
008. Simple Animation - Beating Heart
In this session, we will learn how to use CTimer control and make our heart beating.
009. How to Use Geometry
In this session, we will learn how to use CD2DPathGeometry to fill the heart with color.
010. Registry and Project Dependencies
In this session, we will learn about system registry and how to set project dependencies.
011. CMFCRibbonBar and CDockablePane
In this session, we will learn how to add buttons to CMFCRibbonBar and how to hide/show CDockablePane.
012. Fix Context Menu Error by AppWizard and CListBox
In this session, we will fix context menu error introduced bu MFC AppWizard, and clear the contents of CListBox.
013. Custom Messages and CTimer Control
In this session, we will learn how to add a custom Windows message and control CTimer.
014. Load Image From File
In this session, we will learn how to load an image file and draw it on screen.
In this session, we will load an image from embedded resource.
In this session, we will learn how to fix resource bug.