[fpc-pascal] Implementing AggPas with PtcGraph

James Richters james at productionautomation.net
Thu Jun 15 23:17:15 CEST 2017


>And if you look in the "develop" branch of fpGUI, there is an even later 
>AggPas version - last updated a month ago

I downloaded the fpGUI repository to have a look at it, and thought I would see if any of the things I was encountering with it were addressed yet.   Sure enough, I found

{$IFDEF AGG2D_USE_FREETYPE}
  {$UNDEF AGG2D_USE_WINFONTS}
{$ENDIF}

Already there,  actually formatted exactly the way I did to get it to compile.  So I went back in the history of the file to see when that was added, and I found it.... 4 years ago!
This was really puzzling because I had to fix the version included with fpGUI 1.4.1 which was from 2015.  

Well looking more closely, I discovered there are 2 units... agg2D.pas and agg_2D.pas.   well agg2D.pas is all the way at the bottom of all the agg_* units so I never knew it was there.... so when I specifically looked for agg_2d.pas (which is the one I was using)  I found that it also was fixed, but only 11 months ago... after 1.4.1 was released.  

So mystery solved... but.........

It raises a new question... 
What is the difference between agg2D.pas and agg_2D.pas and which one do I want to be using?  

Also when looking through the fpGUI as well as the Freepascal repositories,  there are just thousands of commits.  looking at all those commits gives a real appreciation for the amount of work that has gone into the project.   So a huge thank you goes out to everyone who has worked so hard to make freepascal as awesome as it is, as well as the people who are such a tremendous help on this list.   Honestly if not for FreePascal, I would still be trying to put together Pentium 233 computers to run my old DOS applications on. (not fun, components are getting hard even to find on ebay now)   I just don't have time to do a massive re-write all at once, and FreePascal let me drop in my Turbo Pascal programs and pretty much just run them.   

James




More information about the fpc-pascal mailing list