@alcinnz
When you ask about Windows, are you asking from the perspective of someone writing an application for the platform, or someone implementing that platform?
For the former, the original graphics API is called "Graphics Device Interface" (GDI) and provides a number of 2D drawing operations that can be implemented either in software or in hardware, depending on the driver.
I believe modern Windows still supports this, so the API docs are still out there.