nanogui: GrNewBitmaoRegion, read mask from file?


Previous by date: 7 May 2004 05:12:27 +0100 Re: Odd shaped windows under nano-X?, jonathan.foster.philips.com
Next by date: 7 May 2004 05:12:27 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Previous in thread:
Next in thread:

Subject: GrNewBitmaoRegion, read mask from file?
From: tj ####@####.####
Date: 7 May 2004 05:12:27 +0100
Message-Id: <409B0C8E.7020105@comcast.net>

Can you read the mask from a file for GrNewBitmapRegion(), or does it 
have to be in and array in the program?

I tried
imageMask = GrLoadImageFromFile("mask.bmp", 0);
and then used imageMask in GrNewBitmapRegion, but of course I got 
warnings about integer to pointer. Which is right since imageMask is an 
integer.

tj



Previous by date: 7 May 2004 05:12:27 +0100 Re: Odd shaped windows under nano-X?, jonathan.foster.philips.com
Next by date: 7 May 2004 05:12:27 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.