Recent

Author Topic: "Bare bones" Imageview component for lazarus  (Read 5647 times)

wotanica

  • Guest
"Bare bones" Imageview component for lazarus
« on: September 21, 2010, 01:17:03 pm »
A simple viewer that derives from TScrollingWinControl and thus uses no extra components for it's scrollbars. I havent implemented scaling and zoom yet, but I will port it over from my Delphi components together with the ruler code. Depending on the speed I may also get the editor classes over, but that would require access to the raw pixelbuffer.

Put the initial source up here:
http://delphimax.wordpress.com/2010/09/20/platform-independent-image-component-for-lazarus/
« Last Edit: September 21, 2010, 03:58:36 pm by wotanica »

wotanica

  • Guest
Re: "Bare bones" Imageview component for lazarus
« Reply #1 on: September 23, 2010, 02:20:28 pm »
updated the source, found a bug i had to bypass on windows. now tested on windows and mac

krsears

  • New Member
  • *
  • Posts: 19
Re: "Bare bones" Imageview component for lazarus
« Reply #2 on: September 23, 2010, 08:01:16 pm »
If you do implement zoom in/out, it would be very helpful if you would expose the scale factors for reading so that applications using the component can determine the relative size of the view.

 

TinyPortal © 2005-2018