I have been taking reference for my project from this source: https://docs.microsoft.com/en-us/windows/win32/directwrite/getting-started-with-directwrite
My goal