السؤال Using GuidelineSet with DrawingContext

  • Wednesday, September 20, 2006 8:57 PM
     
     

    I'm using the OnRender(DrawingContext drawingContext) method to draw many lines. All this lines will be 1 pixel wide and I want to disable the antialiasing affect.

    It looks like the GuidelineSet class is designed to solve that issues and DrawingContext class has a method "PushGuidelineSet", but I was not able to find any samples on how to use it.

     I will appretiate if you can show how I can use this feature...

       Thanks.