高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】bug in exgigdigeometry
bug in exgigdigeometry
bug in exgigdigeometry
around line 1774 this code appears --
code:
if(m_logbrush.lbstyle & bs_pattern)
::deleteobject((hbitmap)m_logbrush.lbhatch); // delete old bitmap
i believe it should be ==, as the lbstyle member is not a bitmask. see wingdi.h:
code:
/* brush styles */
#define bs_solid 0
#define bs_null 1
#define bs_hollow bs_null
#define bs_hatched 2
#define bs_pattern 3
#define bs_indexed 4
#define bs_dibpattern 5
#define bs_dibpatternpt 6
#define bs_pattern8x8 7
#define bs_dibpattern8x8 8
#define bs_monopattern 9
thanks, we'll change our code accordingly.
|