/dports/net/freerdp/freerdp-2.5.0/libfreerdp/gdi/ |
H A D | brush.c | 831 if (!hBrush) in gdi_CreateSolidBrush() 835 hBrush->style = GDI_BS_SOLID; in gdi_CreateSolidBrush() 836 hBrush->color = crColor; in gdi_CreateSolidBrush() 837 return hBrush; in gdi_CreateSolidBrush() 849 if (!hBrush) in gdi_CreatePatternBrush() 853 hBrush->style = GDI_BS_PATTERN; in gdi_CreatePatternBrush() 854 hBrush->pattern = hbmp; in gdi_CreatePatternBrush() 855 return hBrush; in gdi_CreatePatternBrush() 861 if (!hBrush) in gdi_CreateHatchBrush() 866 hBrush->pattern = hbmp; in gdi_CreateHatchBrush() [all …]
|
/dports/japanese/today/ja-today-2.12_2/ |
H A D | colorsel.c | 36 HBRUSH hBrush; in drawSelectMark() local 54 hBrush = GetStockObject(BLACK_BRUSH); in drawSelectMark() 56 hBrush = (HBRUSH)SendMessage(hwnd, WM_CTLCOLORDLG, (WPARAM)hdc, (LPARAM)hwndItem); in drawSelectMark() 58 FrameRect(hdc, &rcMark, hBrush); in drawSelectMark() 121 HBRUSH hBrush; in selectColornoDlgProc() local 141 hBrush = CreateSolidBrush(RGB2PALETTERGB(ColorMapTbl[idCtrl])); in selectColornoDlgProc() 142 FillRect(lpDIS->hDC, &lpDIS->rcItem, hBrush); in selectColornoDlgProc() 143 DeleteObject(hBrush); in selectColornoDlgProc() 146 hBrush = (HBRUSH)SendMessage(hDlg, WM_CTLCOLORDLG, (WPARAM)lpDIS->hDC, (LPARAM)lpDIS->hwndItem); in selectColornoDlgProc() 147 FillRect(lpDIS->hDC, &lpDIS->rcItem, hBrush); in selectColornoDlgProc()
|
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/gdi/test/ |
H A D | TestGdiCreate.c | 209 if (hBrush->objectType != GDIOBJECT_BRUSH) in test_gdi_CreateSolidBrush() 212 if (hBrush->style != GDI_BS_SOLID) in test_gdi_CreateSolidBrush() 215 if (hBrush->color != 0xAABBCCDD) in test_gdi_CreateSolidBrush() 220 gdi_DeleteObject((HGDIOBJECT)hBrush); in test_gdi_CreateSolidBrush() 227 HGDI_BRUSH hBrush; in test_gdi_CreatePatternBrush() local 230 hBrush = gdi_CreatePatternBrush(hBitmap); in test_gdi_CreatePatternBrush() 232 if (!hBitmap || !hBrush) in test_gdi_CreatePatternBrush() 238 if (hBrush->style != GDI_BS_PATTERN) in test_gdi_CreatePatternBrush() 241 if (hBrush->pattern != hBitmap) in test_gdi_CreatePatternBrush() 250 if (hBrush) in test_gdi_CreatePatternBrush() [all …]
|
H A D | TestGdiRect.c | 70 HGDI_BRUSH hBrush = NULL; in test_gdi_FillRect() local 103 hBrush = gdi_CreateSolidBrush(color); in test_gdi_FillRect() 104 gdi_FillRect(hdc, hRect, hBrush); in test_gdi_FillRect() 150 gdi_DeleteObject((HGDIOBJECT)hBrush); in test_gdi_FillRect()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/win/ |
H A D | wincomp.hxx | 43 inline HBRUSH SelectBrush( HDC hDC, HBRUSH hBrush ) in SelectBrush() argument 45 return static_cast<HBRUSH>(SelectObject( hDC, static_cast<HGDIOBJ>(hBrush) )); in SelectBrush() 48 inline void DeleteBrush( HBRUSH hBrush ) in DeleteBrush() argument 50 DeleteObject( static_cast<HGDIOBJ>(hBrush) ); in DeleteBrush() 158 inline HBRUSH SetClassBrush( HWND hWnd, HBRUSH hBrush ) in SetClassBrush() argument 160 …pret_cast<HBRUSH>(SetClassLongPtr( hWnd, GCLP_HBRBACKGROUND, reinterpret_cast<LONG_PTR>(hBrush) )); in SetClassBrush()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/win/ |
H A D | wincomp.hxx | 43 inline HBRUSH SelectBrush( HDC hDC, HBRUSH hBrush ) in SelectBrush() argument 45 return static_cast<HBRUSH>(SelectObject( hDC, static_cast<HGDIOBJ>(hBrush) )); in SelectBrush() 48 inline void DeleteBrush( HBRUSH hBrush ) in DeleteBrush() argument 50 DeleteObject( static_cast<HGDIOBJ>(hBrush) ); in DeleteBrush() 158 inline HBRUSH SetClassBrush( HWND hWnd, HBRUSH hBrush ) in SetClassBrush() argument 160 …pret_cast<HBRUSH>(SetClassLongPtr( hWnd, GCLP_HBRBACKGROUND, reinterpret_cast<LONG_PTR>(hBrush) )); in SetClassBrush()
|
/dports/games/xblast/xblast-2.10.4/ |
H A D | w32_text.c | 73 static HBRUSH hBrush[NUM_BRUSH]; variable 103 CreateTextDC (HDC hdc, HPEN hPen, HBRUSH hBrush, XBColor textColor) in CreateTextDC() argument 112 SelectObject (hdcText, hBrush); in CreateTextDC() 138 memset (hBrush, 0, sizeof (hBrush)); in InitText() 147 hBrush[i] = CreateSolidBrush (COLOR_TO_COLORREF (initBrush[i])); in InitText() 165 hdcLight = CreateTextDC (hdc, hPen[PEN_LightThick], hBrush[BRUSH_Dark], COLOR_LIGHT); in InitText() 167 hdcDark = CreateTextDC (hdc, hPen[PEN_DarkThick], hBrush[BRUSH_Light], COLOR_DARK); in InitText() 189 if (NULL != hBrush[i]) { in FinishText() 190 DeleteObject (hBrush[i]); in FinishText()
|
/dports/graphics/dia/dia-0.97.3/plug-ins/wmf/ |
H A D | wmf.cpp | 634 W32::HBRUSH hBrush, hBrOld; in fill_polygon() local 647 W32::DeleteObject(hBrush); in fill_polygon() 677 W32::HGDIOBJ hBrush, hBrOld; in fill_rect() local 690 W32::DeleteObject(hBrush); in fill_rect() 735 W32::HGDIOBJ hBrush, hBrOld; in fill_arc() local 761 W32::DeleteObject(hBrush); in fill_arc() 796 W32::HGDIOBJ hBrush, hBrOld; in fill_ellipse() local 809 W32::DeleteObject(hBrush); in fill_ellipse() 879 W32::HGDIOBJ hBrush, hBrOld; in fill_bezier() local 895 W32::DeleteObject(hBrush); in fill_bezier() [all …]
|
/dports/biology/viennarna/ViennaRNA-2.4.18/src/RNAforester/g2-0.72/src/Win32/ |
H A D | g2_win32.c | 126 if (PDP->hBrush != NULL) DeleteObject(PDP->hBrush); in g2_win32_Cleanup() 191 oldbrush = PDP->hBrush; in g2_win32_Pen() 192 PDP->hBrush = CreateBrushIndirect(&logbrush); in g2_win32_Pen() 193 if (PDP->hBrush == NULL) in g2_win32_Pen() 196 PDP->hBrush = oldbrush; in g2_win32_Pen() 342 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledRectangle() 385 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledPolygon() 401 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledEllipse() 423 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledArc()
|
/dports/graphics/g2/g2-0.72/src/Win32/ |
H A D | g2_win32.c | 126 if (PDP->hBrush != NULL) DeleteObject(PDP->hBrush); in g2_win32_Cleanup() 191 oldbrush = PDP->hBrush; in g2_win32_Pen() 192 PDP->hBrush = CreateBrushIndirect(&logbrush); in g2_win32_Pen() 193 if (PDP->hBrush == NULL) in g2_win32_Pen() 196 PDP->hBrush = oldbrush; in g2_win32_Pen() 342 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledRectangle() 385 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledPolygon() 401 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledEllipse() 423 SelectObject(PDP->hMemDC,PDP->hBrush); in g2_win32_FilledArc()
|
/dports/lang/ptoc/ptoc/WinBGI/ |
H A D | winbgi.cxx | 18 static HBRUSH hBrush[USER_FILL+1]; variable 646 hBrush[USER_FILL] = hb; in setfillpattern() 1741 hBrush[SOLID_FILL] = in initgraph() 1743 hBrush[LINE_FILL] = in initgraph() 1745 hBrush[LTSLASH_FILL] = in initgraph() 1747 hBrush[SLASH_FILL] = in initgraph() 1749 hBrush[BKSLASH_FILL] = in initgraph() 1753 hBrush[HATCH_FILL] = in initgraph() 1755 hBrush[XHATCH_FILL] = in initgraph() 1759 hBrush[WIDE_DOT_FILL] = in initgraph() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/win32/ |
H A D | cgdi_device_driver.cpp | 596 HBRUSH hBrush = nullptr; in DrawPath() local 604 hBrush = CreateBrush(fill_color); in DrawPath() 605 hBrush = (HBRUSH)SelectObject(m_hDC, hBrush); in DrawPath() 638 if (hBrush) { in DrawPath() 639 hBrush = (HBRUSH)SelectObject(m_hDC, hBrush); in DrawPath() 640 DeleteObject(hBrush); in DrawPath() 660 HBRUSH hBrush = CreateSolidBrush(colorref); in FillRectWithBlend() local 662 ::FillRect(m_hDC, pRect, hBrush); in FillRectWithBlend() 663 DeleteObject(hBrush); in FillRectWithBlend()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ |
H A D | Menu.java | 61 long hBrush; field in Menu 972 if (hBrush != 0) OS.DeleteObject (hBrush); in releaseWidget() 973 hBrush = 0; in releaseWidget() 1322 if (hBrush != 0) OS.DeleteObject (hBrush); in updateBackground() 1323 hBrush = 0; in updateBackground() 1326 hBrush = OS.CreatePatternBrush (backgroundImage.handle); in updateBackground() 1328 hBrush = OS.CreateSolidBrush (background); in updateBackground() 1333 lpcmi.hbrBack = hBrush; in updateBackground()
|
/dports/textproc/scim-openvanilla/openvanilla-0.7.2.20070514/Loaders/Win32/OVIMEUIManaged/Original/ |
H A D | UIStatus.cpp | 125 HBRUSH hBrush = (HBRUSH)NULL; in PaintStatusWindow() local 134 hBrush = (HBRUSH)GetStockObject(LTGRAY_BRUSH); in PaintStatusWindow() 135 hOldBrush = (HBRUSH)SelectObject(hDC, hBrush); in PaintStatusWindow() 142 if(hBrush && hOldBrush) in PaintStatusWindow()
|
H A D | UIComp.cpp | 142 HBRUSH hBrush = (HBRUSH)NULL; in PaintCompWindow() local 152 hBrush = (HBRUSH)GetStockObject(LTGRAY_BRUSH); in PaintCompWindow() 153 hOldBrush = (HBRUSH)SelectObject(hDC, hBrush); in PaintCompWindow() 160 if(hBrush && hOldBrush) in PaintCompWindow()
|
/dports/textproc/openvanilla-framework/openvanilla-0.7.2.20070514/Loaders/Win32/OVIMEUIManaged/Original/ |
H A D | UIStatus.cpp | 125 HBRUSH hBrush = (HBRUSH)NULL; in PaintStatusWindow() local 134 hBrush = (HBRUSH)GetStockObject(LTGRAY_BRUSH); in PaintStatusWindow() 135 hOldBrush = (HBRUSH)SelectObject(hDC, hBrush); in PaintStatusWindow() 142 if(hBrush && hOldBrush) in PaintStatusWindow()
|
H A D | UIComp.cpp | 142 HBRUSH hBrush = (HBRUSH)NULL; in PaintCompWindow() local 152 hBrush = (HBRUSH)GetStockObject(LTGRAY_BRUSH); in PaintCompWindow() 153 hOldBrush = (HBRUSH)SelectObject(hDC, hBrush); in PaintCompWindow() 160 if(hBrush && hOldBrush) in PaintCompWindow()
|
/dports/emulators/nestopia/nestopia-1.51.1/source/win32/ |
H A D | NstDialogLauncherColors.cpp | 81 HBRUSH const hBrush = ::CreateSolidBrush( type.color ); in UpdateColor() local 82 HBRUSH const hBrushOld = static_cast<HBRUSH>(::SelectObject( hDC, hBrush )); in UpdateColor() 87 ::DeleteObject( hBrush ); in UpdateColor()
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/msw/ |
H A D | dcmemory.cpp | 155 HBRUSH hBrush = (HBRUSH) brush.GetResourceHandle() ; in wxDrawRectangle() local 156 if (hBrush) in wxDrawRectangle() 162 ::FillRect((HDC) dc.GetHDC(), &rect, hBrush); in wxDrawRectangle()
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/msw/ |
H A D | dcmemory.cpp | 155 HBRUSH hBrush = (HBRUSH) brush.GetResourceHandle() ; in wxDrawRectangle() local 156 if (hBrush) in wxDrawRectangle() 162 ::FillRect((HDC) dc.GetHDC(), &rect, hBrush); in wxDrawRectangle()
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/msw/ |
H A D | dcmemory.cpp | 155 HBRUSH hBrush = (HBRUSH) brush.GetResourceHandle() ; in wxDrawRectangle() local 156 if (hBrush) in wxDrawRectangle() 162 ::FillRect((HDC) dc.GetHDC(), &rect, hBrush); in wxDrawRectangle()
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/msw/ |
H A D | dcmemory.cpp | 155 HBRUSH hBrush = (HBRUSH) brush.GetResourceHandle() ; in wxDrawRectangle() local 156 if (hBrush) in wxDrawRectangle() 162 ::FillRect((HDC) dc.GetHDC(), &rect, hBrush); in wxDrawRectangle()
|
/dports/multimedia/assimp/assimp-5.1.3/tools/assimp_view/ |
H A D | HelpDialog.cpp | 86 HBRUSH hBrush = CreateSolidBrush(RGB(0xFF,0xFF,0xFF)); in HelpDialogProc() local 93 FillRect(hdc, &sRect, hBrush); in HelpDialogProc()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/tools/assimp_view/ |
H A D | HelpDialog.cpp | 92 HBRUSH hBrush = CreateSolidBrush(RGB(0xFF,0xFF,0xFF)); in HelpDialogProc() local 99 FillRect(hdc, &sRect, hBrush); in HelpDialogProc()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/msw/ |
H A D | dcmemory.cpp | 165 HBRUSH hBrush = (HBRUSH) brush.GetResourceHandle() ; in wxDrawRectangle() local 166 if (hBrush) in wxDrawRectangle() 172 ::FillRect((HDC) dc.GetHDC(), &rect, hBrush); in wxDrawRectangle()
|