nanogui: portrait mode problems.
Subject:
portrait mode problems.
From:
Srijon Biswas ####@####.####
Date:
22 Apr 2002 03:53:21 -0000
Message-Id: <20020422113841.0cd6e73a.srijon@innvo.com>
Hi,
I am having some problems with the usage of the protrait modes. I
have a
StrongARM based board, with a 320x240 display (standard stuff). I am
using
microwindows-0.89pre8. As such, everything works, but when I change
the
orientation to left, using "nano-X -L", then I get the message :
nano-X-test: fblin4rev.c:83: linear4_drawhorzline: Assertion `y >= 0
&& y < psd->yres' failed.
I get this message in the GrFillRect function. I create a pixmap of
size
240x320, then I try to put a rectangle in it. If I give the size of
the
rectangle as 320x240 it works (using "nano-X -L"), but if I use
240x320, I get
the above message.
I was wondering if I am missing some point, or the only way to get
around this
is to manually set this in the code (ie. swap x and y axis, if I want
PORTRAIT_LEFT)... that would mean, at runtime I cannot decide which
mode to use?
Any help would be appreciated.
-------------------------
Srijon Biswas
####@####.####
####@####.####
-------------------------