As Carl Sagan purportedly said, "In order to draw a triangle, you must first invent the universe". Once you have a thorough understanding of the proprietary hardware and its drivers, it's not a complicated thing to draw. But you need to do a lot of groundwork to construct that simple shape on less-than-friendly turf.