[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QPainter::drawPoint()
From:       uwe () uwix ! alt ! na (Uwe Thiem)
Date:       1997-07-15 8:52:22
[Download RAW message or body]

Ashley Winters was heard to say:
> 
> On Mon, 14 Jul 1997, Uwe Thiem wrote:
> 
> > Ken Hollis was heard to say:
> > > 
> > > Uwe:
> > > 
> > > > Am I a bit touched or does QPainter::drawPoint() do nothing?
> > > > 
> > > > If I do a:
> > > > paint.drawLine( x, y, x, y)
> > > > I get the output that I would expect from:
> > > > paint.drawPoint( x, y )
> > > > 
> > > > But in the latter case I get nothing!
> > > 
> > > This has been the case for me using Qt 1.2 or the beta.  I am experiencing
> > > the same thing, and I don't know if it has to do with X, or with the
> > > library itself.  Doing drawLine(x,y,x,y) works for me as well.
> > > 
> > > 
> > 
> > Ken, thanks for your reply. You made me feel a bit better. This thing was
> > going to drive me nuts. Now I'm not alone. 
> > 
> > Did you contact the Trolls about it? Or: Arnt, are you listening?
> > 
> > Uwe
> 
> Does the connect example show you a dot for the dragged mouse points?
> It uses QPainter::drawPoint() for the mouse points. If it does show them
> to you (it does for me), I would surmise that there is no bug with Qt.
> The only difference I see is that the connect example uses a QPoint.
>

Connect shows up correctly. But I must admit I don't understand connect.
In ConnectWidget::mouseMoveEvent() it uses QPainter::draw.Point() but
in ConnectWidget::paintEvent() it uses QPainter::draw.Line(). Maybe because
the Trolls know the bug. ;-)
 
> If the dots don't appear with connect, what resolution are you running at?
> 
My resolution is 1024 x 768 truecolor.


Ken, did you contact the Trolls? If no I'd like to tell them about it.

Uwe

---------------------------------------------------------------------------
Uwe Thiem                                          Tel: +264 - 061 - 244511
P.O.Box 30955                                      Fax: +264 - 061 - 244511
Windhoek                                         Email:     uwe@uwix.alt.na
Namibia
                   **********************************
        You can still escape from the GATES of hell: Use Linux!
---------------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic