Recent

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

jacekpazera

  • New Member
  • *
  • Posts: 10
    • 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.

Repository: https://github.com/jackdp/GDIPlus-Library-for-Delphi-and-Lazarus
Original library home page: http://www.bilsen.com/gdiplus/index.shtml

From the author's website:

Quote
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 »

stoffman

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

Thaddy

  • Hero Member
  • *****
  • Posts: 10684
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 »

 

TinyPortal © 2005-2018