Mattias Gaertner wrote:
On Tue, 04 Jul 2006 12:18:49 -0400
Dalton Calford <[EMAIL PROTECTED]> wrote:
Is there a link to any documentation that details the difficulties that
I will encounter when porting Delphi 7 code to lazarus?
Here is a start:
http://wiki.lazarus.freepascal.org/index.php/Lazarus_For_Delphi_Users
I am specifically interested in any GDI(+) issues as I wish to make this
cross platform and the origional code used GDI functions extensively.
I don't know any document about this. Maybe there are some notes in the
wiki. Here are some general hints:
The LCL contains a few functions, that look and work similar to the winapi
GDI functions. But we only support those features, that are used by the LCL.
So, it is almost always better to use the LCL TCanvas functions, except for
some rare cases.
The LCL interfaces are optimized for how the LCL uses the GDI functions. So
contrary to Delphi, it can be faster to use TCanvas functions, than to use
the GDI functions directly.
Indeed. In the far, far future, there is even a chance that the GDI
functions wil use the canvas. So use the canvas.
And report missing GDI functionality, so we might add it.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives