nanogui: problem with microwindows


Previous by date: 1 Aug 2001 06:28:34 -0000 Problems with uwindows, Girija Deo
Next by date: 1 Aug 2001 06:28:34 -0000 Re: Problems with uwindows, Sadeesh Kumar
Previous in thread:
Next in thread: 1 Aug 2001 06:28:34 -0000 Re: problem with microwindows, Duncan Palmer

Subject: problem with microwindows
From: Girija Deo ####@####.####
Date: 1 Aug 2001 06:28:34 -0000
Message-Id: <3B67A148.A09AC9CC@cirrus.stpp.soft.net>

Sorry for sending resending mail (there was typing error in code part)


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

1.Not able to change the font size.
------------------------------------
This is what i tried...
GR_FONT_ID  fontid;
fontid = GrCreateFont("times", 50, NULL);
GrSetGCFont(gc1, fontid);
GrText(window1, gc1, 40, 40, "Cirrus Logic", title_lenth, GR_TFASCII);

But whatever may be the fontsize (here its 50), there is no change in
the display.

2. Not able to draw perfect rectangle.
---------------------------------------
GrRect(window1, 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.

3. How to use nxPaintNCArea( ) function ?

Thanks,
Girija




Previous by date: 1 Aug 2001 06:28:34 -0000 Problems with uwindows, Girija Deo
Next by date: 1 Aug 2001 06:28:34 -0000 Re: Problems with uwindows, Sadeesh Kumar
Previous in thread:
Next in thread: 1 Aug 2001 06:28:34 -0000 Re: problem with microwindows, Duncan Palmer


Powered by ezmlm-browse 0.20.