[lazarus] Bug Report Update

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 16 13:05:00 EDT 2003


On Mon, 16 Jun 2003 00:22:44 +0200
domin <dominz at wp.pl> wrote:

> Dnia pi__ 13. czerwca 2003 12:16, bugtracker at miraclec.com napisa__:
> > Title: TPaintBox drawing wrong origin
> >
> > Entered by: domin
> >
> > Original Description:
> > When I put TPaintBox on the form and do some drawing on it, It's always
> > done from the origin (0,0) of the *Form*, not the PaintBox, which has 
> > left and top properties other than 0 (also on the runtime - I've checked
> > it)
> >
> > Updated by: Mattias
> >
> > Status: Fixed
> >
> > Comments:
> > The Get/SetPixel functions didn't consider the DCOffset. That's Fixed.
> > If you find some other drawing functions with thsi bug, please tell.
> 
> Stilll the same bug.
> Get/SetPixel - do you mean TCanvas.* ?
> canvas.inc from CVS doesn't seem to be updated

TCanvas in cancas.inc uses the Get/SetPixel functions of the gtk-interface.
Can you send me an example, where it does not work?


Mattias






More information about the Lazarus mailing list