nanogui: Images not drawn (FLTK+nxlib app with nano-X)


Previous by date: 6 Feb 2006 18:37:30 +0000 regarding banner lagging, sai baba
Next by date: 6 Feb 2006 18:37:30 +0000 Re: regarding banner lagging, Michael Bogaerts
Previous in thread: 6 Feb 2006 18:37:30 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Greg Haerr
Next in thread: 6 Feb 2006 18:37:30 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Martin Kajdas

Subject: RE: [nanogui] Images not drawn (FLTK+nxlib app with nano-X)
From: "Martin Kajdas" ####@####.####
Date: 6 Feb 2006 18:37:30 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914C4@mkmail.MKPROD.COM>

I traced the code thru devdraw.c::GdArea and the image is correctly drawn in memory.
I printed the number of calls to drawpoint/drawrow with x,y locations and it makes sense for the image.

However, it then calls GdBlit and here for some reason it falls to 'Partly clipped' area of code.
The parameters are:
dstx = 456
dsty = 36
width = 24
height = 24
srcx = 0
srcy = 0

I believe these are OK and the size of array is good, but what makes is partly clipped?
I will work on this but any suggestions are welcomed.

Martin



-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Saturday, February 04, 2006 7:34 AM
To: Martin Kajdas
Cc: ####@####.####
Subject: Re: [nanogui] Images not drawn (FLTK+nxlib app with nano-X)


> If GrArea converts MWPF_TRUECOLOR565 to MWPF_RGB format then that is where
the problem is.
> Let me know what can I do next.

All your results look good so far.  Next step is to debug devdraw.c::GdArea.
I've checked this routine pretty well, there is code that attempts
to find multiple points of the same color.  I'd add debug statements
that just show GdArea is called with the correct width and pixtype,
and then each dot for the full width is displayed.

Regards,

Greg


Previous by date: 6 Feb 2006 18:37:30 +0000 regarding banner lagging, sai baba
Next by date: 6 Feb 2006 18:37:30 +0000 Re: regarding banner lagging, Michael Bogaerts
Previous in thread: 6 Feb 2006 18:37:30 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Greg Haerr
Next in thread: 6 Feb 2006 18:37:30 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Martin Kajdas


Powered by ezmlm-browse 0.20.