Searched refs:brush (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Brush.cpp37 HBRUSH brush = ::CreateSolidBrush(color); local
43 if (brush == NULL) {
45 brush = ::CreateSolidBrush(color);
47 DASSERT(brush != NULL);
48 SetHandle(brush);
49 if (brush == NULL) {
H A Dawt_PrintJob.cpp1795 HBRUSH brush = ::CreateSolidBrush(RGB(red, green, blue)); local
1797 if (brush != NULL) {
1798 ::FillRect((HDC)printDC, (LPRECT) &rect, brush);
1799 DeleteObject(brush);
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIWindowSurfaceData.h178 AwtBrush *brush; // used for offscreen surfaces only member in struct:_GDIWinSDOps
213 AwtBrush *brush; member in struct:__anon1083
H A DGDIWindowSurfaceData.cpp155 // cached brush and pen are not associated with any DC, and can be
156 // reused, but have to set type to 0 to indicate that no pen/brush
200 if (info->brush != NULL) {
201 info->brush->Release();
1116 // init brush and pen
1118 if (info->brushclr != color || (info->brush == NULL)) {
1123 if (info->brush != NULL) {
1124 info->brush->Release();
1126 info->brush = AwtBrush::Get(CheckGrayColor(wsdo, color));
1130 ::SelectObject(info->hDC, info->brush
[all...]

Completed in 59 milliseconds