nanogui: GrNewBitmaoRegion, read mask from file?
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