Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    You may be looking for a Convolution - by far the easiest way to implement anti-aliasing. Commented Sep 22, 2014 at 16:31
  • So wait, for this, would I take the average of each component value in the eight surrounding pixels and the pixel at (x,y) as the convolved value? Should I only do this for transparent pixels? Commented Sep 22, 2014 at 17:50
  • Whatever applies best to your problem space - try here for some more general ideas. Commented Sep 22, 2014 at 18:55
  • Well I tried a few convolution matrices but I can't seem to get an effect other than blurring everything (including horizontal/vertical lines), which I don't want :S Commented Sep 23, 2014 at 1:34
  • Ok, oddball comment here: is WPF an option? And no, I don't mean the XAML, bindings, etc. but more the lower-level render context. I think you may find it's richer composition model (built on milcore+DirectX vs. GDI) a better fit depending on your application... Commented Sep 25, 2014 at 4:49