[fpc-pascal] Implementing AggPas with PtcGraph
daworm at gmail.com
Fri Jun 16 21:34:01 CEST 2017
On Fri, Jun 16, 2017 at 1:49 PM, James Richters <
james at productionautomation.net> wrote:
> I would like to do something like:
> agg^.Font('%windir%\Fonts\ConsolaB.ttf' ,45 );
You should be able to use SHGetFolderPath() with CSIDL_WINDOWS. Not sure
you can always count on Fonts being a subfolder of that, though.
You may be able to use CSIDL_FONTS or FOLDERID_Fonts as well.
Not sure if any are defined in FPC, but should be easy to create/import if
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal