0
투명한 배경으로 패턴을 그릴 수 없습니다. msdn의 문서 투명성에 대해 아무것도 언급하지 않는transparent backround (GDI)를 사용하여 patternBrush를 그릴 수 있습니까?
bitmap.CreateBitmap(8, 8, 1, 1, &bits)
brush.CreatePatternBrush(&bitmap)
hbrush = pCgrCurrentDC->SelectObject(&brush);
// set text color
TextCol = pCgrCurrentDC->SetTextColor(CgrColourPalRGB);
int oldBkgrdMode = pCgrCurrentDC->SetBkMode(TRANSPARENT);
//draw polygon
pCgrCurrentDC->Polygon(CgrBuffer, n);
: 이것은 내 조각이다. 이 모드를 사용할 수있을 것 같아요? 아니면이 버그입니까?
감사합니다.