nanogui: GrBitmap & LineWidth


Previous by date: 28 Oct 2006 02:19:58 +0100 Start nano-X in 16 bit colour depth?, Raph HP
Next by date: 28 Oct 2006 02:19:58 +0100 Re: Display images, Greg Haerr
Previous in thread: 28 Oct 2006 02:19:58 +0100 GrBitmap & LineWidth, JiaAiXia(贾爱霞)
Next in thread: 28 Oct 2006 02:19:58 +0100 答复: [nanogui] GrBitmap & LineWidth, JiaAiXia(贾爱霞)

Subject: Re: [nanogui] GrBitmap & LineWidth
From: "Greg Haerr" ####@####.####
Date: 28 Oct 2006 02:19:58 +0100
Message-Id: <089001c6fa2f$131cf6b0$2f01a8c0@HaydenLake>

> 1. GrSetGCLineWidth() is OK? It does’t work when I use this functiong to 
> change line stroke width, why?

I'm not aware of a GrSetGCLineWidth function.  What version
are you running?  Line stroke widths aren't supported
yet.




2. When I use GrBitmap, the image is distorted(But when use GrDrawImageBits, 
it’s not distorted). I have considered the 16bits and 32 bits align.  Can 
GrBitmap work?

Yes, GrBitmap works.  It doesn't use an image structure,
just a 16-bit aligned array of FG/BG bits.  Likely your image
isn't aligned to a 16-bit boundary.  32 bit boundary
won't work.




3. In nano-X, Fill Mode is supported or not?  It seems can’t work.

Yes, look at the demo grdemo.sh, this should show the fill
modes.

Regards,

Greg 


Previous by date: 28 Oct 2006 02:19:58 +0100 Start nano-X in 16 bit colour depth?, Raph HP
Next by date: 28 Oct 2006 02:19:58 +0100 Re: Display images, Greg Haerr
Previous in thread: 28 Oct 2006 02:19:58 +0100 GrBitmap & LineWidth, JiaAiXia(贾爱霞)
Next in thread: 28 Oct 2006 02:19:58 +0100 答复: [nanogui] GrBitmap & LineWidth, JiaAiXia(贾爱霞)


Powered by ezmlm-browse 0.20.