Note that there are some explanatory texts on larger screens.

plurals
  1. POSimple anti-aliasing function for Delphi 7
    primarykey
    data
    text
    <p>I need a very simple function to draw a bunch of lines with anti-aliasing. It has to follow Delphi paradigm: self contained and SYSTEM INDEPENDENT (no DLL hell), fast, simple. Anybody knows such a library?</p> <p>Until now I have tried:</p> <p><strong>WuLine</strong><br> swissdelphicenter.ch/torry/showcode.php?id=1812<br> I don't think that the author of this code ever run it. It takes one second to draw a single line! It is obviously only for educational purposes :)</p> <p><strong>Anti aliased drawing from TMetaFile</strong><br> Link: blog.synopse.info/post/2010/04/02/Antialiased-drawing-from-TMetaFile<br> Haven't really tried this yet (I may do it soon). It works only with TMetaFiles. It only loads an EMF file and draw it using anti aliasing functions. Plus, much code on that web site is only demonstrational/educational.</p> <p><strong>Image32</strong><br> Very nice library - most complete until now. I might use it but it is overkill for what I need.<br> Disadvantages:<br> - The footprint added to application is pretty big.<br> - Really difficult to use.<br> - You need to go really deep in its obscure documentation even for simple tasks. - Demo code provided is way too complex.<br> - Buggy!<br> - No recent updates (to fix the bugs)</p> <p><strong>Anti-Grain Geometry library</strong><br> The library needs a decent installer. The writers of the library are Linux/Mac users. The Windows implementation looks weird. I cannot say something else about the library itself.</p> <p><strong>Xiaolin Wu's based function</strong> (by Andreas Rejbrand)<br> Just see few posts below. Andreas Rejbrand provided a very compact solution. Best solution until now. </p> <hr> <p>It looks like I have to explain why I don't like large 3rd party libraries and VCL's:</p> <ul> <li>you have to install them</li> <li>large library means large number of bugs which means</li> <li>you have to check for updates (and install them again)</li> <li>when you reinstall Delphi, you have to install them one more time (yes I hate installing VCLs)</li> <li>for VCLs, it means you have to load some extra icons in your already crowded palette.</li> <li>(sometimes) no support</li> <li>LARGE footprint added to your application size</li> <li>large library means (well not always but in most cases) difficult to use - more difficult than you need.</li> <li>(for external DLLs and API) your application becomes system-dependent - really nasty!</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload