nanogui: Transparent bound for polygon window draw
Subject:
Transparent bound for polygon window draw
From:
####@####.#### ####@####.####
Date:
9 Nov 2006 06:46:22 +0000
Message-Id: <1163054846.2771.13.camel@fc5>
Dear All,
I want to draw a polygon window like tux. After studied tux.c I found a
way to do that, it's using a GrNewBitmapRegion to mask the visible
region. The mask data tuxmask_bits was generated by convbmp.
But since my background image can be change by user(it's a skin). So,
the mask data must be generated up to user's skin image when the program
loading the skin.
So, any other easy way to do that? Or how can I generate a mask data in
my program according user's BMP?
Any ideas from you? Thanks!
Alex