Getting Started on Rasterization

I am going to start working on adding the ability to scale the resolution of my CPU software rasterizer today. I'll need to figure out how to apply the resolution to a bitmap that will maintain a scale equal to the 4K resolution it currently has. If I were using StretchDIBits I would get this for free, but since I copy the bitmap to GPU memory directly I have to implement it myself.

The plan is to probably rewrite the way I rasterize. Right now I just have single hard coded triangle, I'll need to support arbitrary meshes obviously. I will try and treat my single triangle as an arbitrary mesh, and then just use my slider scale UI widget to adjust the scale.