I am trying to create a CAD drafting application that uses Direct2D to draw all the 2D graphics and uses Direct3D for all the 3D graphics like engine or machine etc.
I am using Direct2D and Direct3D Interoperability to use both 2D & 3D APIs side by side but I got stuck in an issue that is whenever I draw 2D lines there is anti-aliasing issue which is clearly visible; to fix it I tried using the RenderTarget.AntialiasMode as Antialised but still the issue remains.
I am using SlimDX and C# for developing the application. I have prepared a sample that demonstrates the issue by using the Direct2D and Direct3D Interop and renders a line on 2D Texture. You can download it from here.