nanogui: Problems with uwindows


Previous by date: 1 Aug 2001 14:10:19 -0000 Re: Is it Microwindows configuration problem?, Jordan Crouse
Next by date: 1 Aug 2001 14:10:19 -0000 Re: Problems with spelling and diction... :), Jordan Crouse
Previous in thread: 1 Aug 2001 14:10:19 -0000 Re: Problems with uwindows, Sadeesh Kumar
Next in thread: 1 Aug 2001 14:10:19 -0000 Re: Problems with uwindows, Greg Haerr

Subject: Re: [nanogui] Problems with uwindows
From: Jordan Crouse ####@####.####
Date: 1 Aug 2001 14:10:19 -0000
Message-Id: <01080108103203.11059@cosmic>

To quote Girija Deo on Wednesday 01 August 2001 00:23:
> Hi,
>
> I am trying to use microwindows-0.89pre7 on linux 2.4.0 (Cirrus Logic
> board RevB), but facing lots of problems about fontsize, rectangle,
> ellipse
>
> 2. Not able to draw perfect rectangle.
> ---------------------------------------
> GrRect(window2, gc1, 5, 5, 300, 60);
> but it draws rectangle in odd shape, both horrizontal lines of rectangle
> are drawn outof the boundary (ie. end-point of horizontal lines do not
> match with end-point of vertical line)
> I tried drawing rectangle using GrPoly, or simply using lines, but the
> effect is same.

I would accept that the GrPoly might have miscaluculated the math, but if you 
draw the same thing using lines, then that takes any possibility of a math 
error out of the question.

So you are saying that 
--> GrLine(window2, gc1, 5, 5, 300,5)
--> GrLine(window2, gc1, 300, 5, 300,60)
--> GrLine(window2, gc1, 300, 60, 5,60)
--> GrLine(window2, gc1, 5, 5, 60,5,5)

Does the exact same error that you mentioned GrRect was doing? 

Can you send in some example code?
Jordan



Previous by date: 1 Aug 2001 14:10:19 -0000 Re: Is it Microwindows configuration problem?, Jordan Crouse
Next by date: 1 Aug 2001 14:10:19 -0000 Re: Problems with spelling and diction... :), Jordan Crouse
Previous in thread: 1 Aug 2001 14:10:19 -0000 Re: Problems with uwindows, Sadeesh Kumar
Next in thread: 1 Aug 2001 14:10:19 -0000 Re: Problems with uwindows, Greg Haerr


Powered by ezmlm-browse 0.20.