Author Topic: GDI+ Library for Lazarus and Delphi  (Read 3486 times)


  • New member
  • *
  • Posts: 9
    • Pazera-Software
GDI+ Library for Lazarus and Delphi
« on: September 23, 2020, 01:29:49 am »
The Delphi 2009 GDI+ Library written by Erik van Bilsen ported to Lazarus.

Original library home page:

From the author's website:

This library enables GDI+ functionality for Delphi 2009 and later.
It differs from other Delphi GDI+ libraries in the following ways:
  • It is modeled more after the .NET System.Drawing namespace instead of the C++ GDI+ classes. As a result, this library is a bit more high level and easier to use.
  • It uses object interfaces for automatic memory management and ease of use. You don't have to keep track of your graphics objects anymore.
  • It uses exceptions instead of error codes to handle errors the Delphi way.
  • It comes with sample applications that demonstrate the usage of GDI+ through examples from the Windows Platform SDK.
  • It supports the GDI+ version 1.1 extensions that were added with Windows Vista and certain Office versions.
  • Optionally provides class helpers for interoperability with Delphi's TBitmap and TCanvas.
Note that this GDI+ library only works with Delphi 2009 or later. This is because the library uses some new features of Delphi 2009 such as generics, and assumes that all string functions use Unicode strings.

Unlike the IGDIPlus library, this library also supports GDI+ 1.1 extensions.
« Last Edit: September 23, 2020, 05:35:08 pm by jacekpazera »


  • Jr. Member
  • **
  • Posts: 67
Re: GDI+ Library for Lazarus and Delphi
« Reply #1 on: December 16, 2020, 06:46:56 pm »
Cool! I'll be using it soon!


  • Hero Member
  • *****
  • Posts: 14377
  • Sensorship about opinions does not belong here.
Re: GDI+ Library for Lazarus and Delphi
« Reply #2 on: December 16, 2020, 07:18:58 pm »
There is a GDI+ library for (current) FreePascal and Delphi for over 20 years written by Dave Jewell and published in PC Pro even before MS officially released it. (together with XP)
There is another one that I forgot the author from except that he is from the Wallonië part of Belgium and is more complete and powerful..

So this is re-inventing wheels again.

Also note that adding {$mode delphi} to units does not count as a "port". (because that is all what is needed)  >:D
If you changed any code - I won't even look at it - you are on the wrong path.

(I wrote a KOL version of my old programmer friend Dave Jewell's code in 2001...., correction, just checked, early 2003)

Can you please explain what your code adds to the 2001 ports? ;D ;D ;D

Also note the whole shebang is likely to be deprecated sooner or later.
« Last Edit: December 16, 2020, 08:13:02 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.


TinyPortal © 2005-2018