Carlos Cobas skrev: >Hi there, > >I have an application that displays 2D X-Y plots using standard GDI >functions (e.g. CDC::LineTo, CDC::MoveTo). I'd like to improve the >appearance of these graphics by using antialiasing. I think GDI+ supports >this feature natively (not sure though) but at this time my project cannot >use GDI+. Does anyone know any simple way to implement antialiasing for >standard GDI primitives? > >TIA, >Carlos > > You pretty much have to draw what you want to some kind of surface and then iterate over the pixels and recalculate their values to some AA-algorithm. Depending on what you're doing, the result you want and such, you might want to look into "render" different images and putting them together in the end. The best thing would really be to use GDI+ or some other graphics api with more functions than GDI. Perhaps DirectX? However, a AA algorithm applied to GDI may be _very_ slow.
_______________________________________________ msvc mailing list msvc@beginthread.com See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.