Anti aliased graphics lazarus / 39-Graphics ---------------------------------------------------------------------- strider · 2017-08-24 22:09 I've got a requirement to create fairly complex diagrams - and wondered what the best classes to use are. I've seen the use of Canvas with forms, but the objects drawn dont seem to be aliased (smoothed). What's the best way to draw higher quality diagrams ? I'm fairly new to Lazarus, but used other tools extinsively. Thanks! ---------------------------------------------------------------------- dot.not · 2017-08-24 22:22 Is the diagram you want something like the attached picture at the end of this post? Quote from: SolarPop on August 24, 2017, 05:38:54 pm(click on quote header to go to the post) If yes then SolarPop is your source of info I guess, I never even seen what control does that I hope this helps ---------------------------------------------------------------------- Graeme · 2017-08-24 22:40 Quote from: dot.not on August 25, 2017, 12:22:53 amIs the diagram you want something like the attached picture at the end of this post? The screenshot in that linked forum thread doesn't use anti-aliased rendering. Look at the jaggered edges of diagonal lines. This is anti-aliased, sub-pixel high accuracy rendering:    http://fpgui.sourceforge.net/images/full/fpgui_agg-powered.png It was created using AggPas included in the fpGUI code repository (src/corelib/render/software/). AggPas can be used independently from fpGUI (eg: console or web apps on a headless server) and 100% implemented in Object Pascal. My copy of AggPas in also still being maintained, unlike the original or the copy included with Lazarus. Regards,   Graeme ---------------------------------------------------------------------- Graeme · 2017-08-24 22:41 Quote from: strider on August 25, 2017, 12:09:26 amWhat's the best way to draw higher quality diagrams ? Use AggPas instead. See my other reply for a sample screenshot and more details. ---------------------------------------------------------------------- RAW · 2017-08-24 23:15 If you need semitransparent pixels and antialiasing then you can really use a lot... 1. BGRABitmap 2. Graphics32 3. VampyreImagingLibrary 4. AggPas+Lazarus or AggPas+fpGUI 5. GDI+ 6. Direct2D (GPU) 7. OpenGL (GPU) 8. CrossCodebotLibrary I guess these are the most famous possibilities... happy trial and error... ---------------------------------------------------------------------- strider · 2017-08-29 16:45 Thanks for all the replies. Plenty for me to look through there.