Recent

Author Topic: BGRABitmap and BGRAControls Portability Info Request  (Read 2504 times)

Hydexon

  • Full Member
  • ***
  • Posts: 166
BGRABitmap and BGRAControls Portability Info Request
« on: October 09, 2012, 07:06:08 pm »
Well, simply i want information about the portablilty of the excelent BGRABitmap and BGRAControls, because i need that my application are crossplatform most possibly.
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

circular

  • Hero Member
  • *****
  • Posts: 3085
    • Personal webpage
Re: BGRABitmap and BGRAControls Portability Info Request
« Reply #1 on: October 09, 2012, 07:35:19 pm »
It works well here on Windows 7, on 32 bits and on 64 bits.
Conscience is the debugger of the mind

Hydexon

  • Full Member
  • ***
  • Posts: 166
Re: BGRABitmap and BGRAControls Portability Info Request
« Reply #2 on: October 09, 2012, 07:40:42 pm »
Ok, i know works fine in Windows 7, but Windows Vista and Below (to min Lazarus 1.0 can work), and Linux, FreeBSD,Mac OS X, Solaris can work also?, I look that works in Linux GTK+.
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

circular

  • Hero Member
  • *****
  • Posts: 3085
    • Personal webpage
Re: BGRABitmap and BGRAControls Portability Info Request
« Reply #3 on: October 09, 2012, 10:14:06 pm »
It seems to work on Mac OS (for example LazPaint), but the drawing on a canvas is not optimized. It uses "standard" LCL bitmap conversion.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3085
    • Personal webpage
Re: BGRABitmap and BGRAControls Portability Info Request
« Reply #4 on: October 11, 2012, 05:43:48 pm »
So what's left to check? FreeBSD and Solaris. I do not know if it works on these platforms.

You can try to do a basic program that draws something in FormPaint using a TBGRABitmap, including some text. If this works, most of the features will work. There can still be issues with copying TBitmap content from and to a TBGRABitmap (Assign), or with reading TCanvas content (GetImageFromCanvas).
« Last Edit: October 11, 2012, 05:46:07 pm by circular »
Conscience is the debugger of the mind