Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

Migrating high integrated to windows library

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

German Pablo Gentile

Hi,
Im trying to migrate a high integrated to windows delphi librayr to lazarus.
The library calls to many windows api functions for graphics. Theres any reference of equivalence between that functions in windows api and the part side of lazarus for linux?

Examples:

Windows.ExtTextOutW(Canvas.Handle, X, Y, 0, nil,
      PWideChar(Text), Length(Text), nil);
DrawTextW(Canvas.Handle, PWideChar(Text), Length(Text), ARect, Flags);

being back a TBitmap

back.Canvas.CopyRect(Rect(0, 0, Bitmap.Width, Bitmap.Height), Canvas,
Rect(X, Y, X + Bitmap.Width, Y + Bitmap.Height));

TIA

Donald

Reply by email

German Pablo Gentile
to Tobias Giesen

Tobias Giesen escribi?:

Show quoted text 7 lines
Hi, you will find many Windows equivalent functions in the LCLIntf unit. Just add LCLType,LCLIntf,LCLProc to your uses clause.

Already do without luck.

There's also a Windows unit but it should only be used when necessary I think.

Are you sure the windows unit mut be used in linux development???

Donald

Reply by email