WINAPI Polygons - I need help
I am currently in the middle of programming a game engine. I have attempted to use the CreatePolygonRgn and PtInRegion for doing boundary detetion and simulating z-order when I draw multiple images onto screen using BitBlt. As far I can tell the polygons are being created and I know all the points specififed are correct, but it never returns the correct value when I specify a point in the region to be tested. I would also like to know if all values are to be specified in TWIPS or Pixels. I am using TWIP vaules right now because I used Pixels to no avail. Any help would be appreciated.
Vince