Re: [lazarus] Scaling images ?

2005-12-06 Thread Alan Chamberlain
Your easiest way to display a bitmap is to use a TImage component with autosize := false stretch := true and use TImage.Canvas.StretchDraw, but I have had problems with gtk and gtk2 in that if you zoom in to the bitmap you do not get a pixilated image but something blurred and fuzzy. Win 32 works c

Re: [lazarus] Access violation when accessing pixel data

2005-12-05 Thread Alan Chamberlain
I had a similar problem porting a Delphi 7 app to Lazarus. I solved it by using LazIntfImage as below: var I,J, Xres,YRes: integer; Val: longint; SrcIntfImage:TLazIntfImage; Curcolor :TFPColor; Data: array of real; begin with OpenDialog do begin DefaultExt :

Re: [lazarus] New project port

2005-11-03 Thread Alan Chamberlain
_ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives -- Alan Chamberlain <[EMAIL PROTECTED]> ___

Re: [lazarus] RichEdit Missing?

2005-11-02 Thread Alan Chamberlain
On Wed, 2005-11-02 at 11:46, John Samperi wrote: > Well I'm up to the next stage now, trying to convert my > pride and joy to Lazarus. > Er... yes there is no TRichEdit. You can use TSynEdit or TMemo. > Apart from Cport not being there yet it is complaining about > Rich Edit. Did a quick search

Re: [lazarus] Lotsa questions

2005-11-01 Thread Alan Chamberlain
_____ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives -- Alan Chamberlain <[EMAIL PROTECTED]> _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives