I was just writing some code (I'm in the Basic Drawing chapter of Charles Petzold) to do an example working with the basic x and y axis coordinate plane.

I wrote out this whole function to convert to set to the middle of the client area the points of the triangle/rectangle...

Then I read about SetViewPortOrgEx that can do all of the coordinate moving on the client area.

(I guess this is mostly a story than a question) I guess I should have read on before venturing into the wide world of examples.