How to draw a triangle using SlimDX's Direct2D interface given triangle vertices are given in pixel coordinates?
+1
A:
You want to draw primitive with "Transformed" coordinates.
Transformed meams they are already in Screen X,Y so DirectX wont project them.
Neil N
2009-10-27 15:33:04
Not really what I was looking form - I'm using Direct2D so there is no projection at all.
Bartłomiej Siwek
2009-10-30 14:47:02
Yes, thats what Transformed coordinates are, as if you already transformed them to 2D. Even if you are just using 2d coords to begin with, it's the same thing
Neil N
2010-02-25 18:30:31
+3
A:
We just recently added a sample covering this topic to our repository. The relevant source file is here.
Josh Petrie
2009-12-13 00:36:51