/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/painting/ |
H A D | qcolormap_win.cpp | 57 : ref(1), mode(QColormap::Direct), depth(0), hpal(0) in QColormapPrivate() 66 HPALETTE hpal; member in QColormapPrivate 107 screenMap->hpal = CreatePalette(pal); in initialize() 108 if (!screenMap->hpal) in initialize() 112 SelectPalette(dc, screenMap->hpal, FALSE); in initialize() 132 DeleteObject(screenMap->hpal); // palette in cleanup() 133 screenMap->hpal = 0; in cleanup() 174 if (d->hpal) in pixel() 175 return PALETTEINDEX(GetNearestPaletteIndex(d->hpal, rgb)); in pixel() 181 if (d->hpal) { in colorAt() [all …]
|
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/msw/ |
H A D | mscolour.c | 467 { getWsCmdata(cm)->hpal = hpal; in setPaletteColourMap() 475 if ( !data->hpal ) in getPaletteColourMap() 478 return data->hpal; in getPaletteColourMap() 505 HPALETTE hpal; in CreateCCPalette() local 528 return hpal; in CreateCCPalette() 538 HPALETTE hpal; in ws_open_colourmap() local 589 { HPALETTE hpal; in ws_colour_cube() local 628 { HPALETTE hpal; in ws_colour_map_colours() local 636 if ( !hpal ) in ws_colour_map_colours() 677 if ( data->hpal ) in ws_unlink_colour_map() [all …]
|
H A D | msjpeg.c | 73 HPALETTE ohpal=0, hpal; in write_jpeg_file() local 83 hpal = getPaletteColourMap(d->colour_map); in write_jpeg_file() 85 hpal = NULL; in write_jpeg_file() 92 if ( hpal ) in write_jpeg_file() 93 { ohpal = SelectPalette(hdc, hpal, FALSE); in write_jpeg_file() 452 HPALETTE ohpal=0, hpal; in write_gif_file() local 458 hpal = getPaletteColourMap(d->colour_map); in write_gif_file() 460 hpal = NULL; in write_gif_file() 463 if ( hpal ) in write_gif_file() 464 { ohpal = SelectPalette(hdc, hpal, FALSE); in write_gif_file()
|
H A D | msimage.c | 729 if ( hpal ) in ws_attach_xpm_image() 867 if ( hpal ) in ws_save_image_file() 900 if ( hpal ) in ws_save_image_file() 1018 hpal = NULL; in windows_bitmap_from_dib() 1021 if ( hpal ) in windows_bitmap_from_dib() 1036 if ( hpal ) in windows_bitmap_from_dib() 1218 hpal = NULL; in ws_scale_image() 1220 if ( hpal ) in ws_scale_image() 1314 hpal = NULL; in ws_scale_image() 1318 if ( hpal ) in ws_scale_image() [all …]
|
H A D | msdraw.c | 389 context.hpal = hpal; in d_mswindow() 400 if ( hpal ) in d_mswindow() 506 HPALETTE hpal; in d_image() local 511 hpal = NULL; in d_image() 526 context.hpal = hpal; in d_image() 528 if ( hpal ) in d_image() 1255 if ( context.hpal ) in r_fillbrush() 1268 if ( context.hpal ) in r_fillbrush() 1501 if ( context.hpal ) in cref_colour() 1508 { if ( context.hpal ) in cref_colour() [all …]
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/win32/dibutils/ |
H A D | dibutils.c | 315 hpal = CreatePalette(pPal); in CreateBIPalette() 345 hpal = CreatePalette(pPal); in CreateBIPalette() 348 return hpal; in CreateBIPalette() 364 HPALETTE hpal; in CreateDibPalette() local 370 return hpal; in CreateDibPalette() 725 if (hpal == NULL) in DibFromBitmap() 748 hpal = SelectPalette(hdc,hpal,FALSE); in DibFromBitmap() 814 SelectPalette(hdc,hpal,FALSE); in DibFromBitmap() 840 if (hpal == NULL) in CreateDIB() 927 if (hpal){ in BitmapFromDib() [all …]
|
H A D | dibutils.h | 258 HANDLE FAR WINAPI DibFromBitmap (HBITMAP hbm, DWORD biStyle, WORD biBits, HPALETTE hpal); 259 HBITMAP FAR WINAPI BitmapFromDib (HANDLE hdib, HPALETTE hpal); 286 HPALETTE CopyPalette (HPALETTE hpal);
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/win32/ |
H A D | gdkcolor-win32.c | 84 private->hpal = NULL; in gdk_colormap_init() 110 GDI_CALL (DeleteObject, (private->hpal)); in gdk_colormap_finalize() 327 cmapp->hpal, index, index, in alloc_color() 341 cmapp->hpal, index, index, in alloc_color() 403 cmapp->hpal, i + 1)); in free_colors() 445 HPALETTE hpal; in create_colormap() local 450 hpal = GetStockObject (DEFAULT_PALETTE); in create_colormap() 466 hpal, lp.pal.palNumEntries), in create_colormap() 469 DeleteObject (hpal); in create_colormap() 520 private, private->hpal, nlookup), in sync_colors() [all …]
|
H A D | gdkmain-win32.c | 332 palette_size (HPALETTE hpal) in palette_size() argument 336 if (!GetObject (hpal, sizeof (npal), &npal)) in palette_size() 343 _gdk_win32_print_hpalette (HPALETTE hpal) in _gdk_win32_print_hpalette() argument 348 npal = palette_size (hpal); in _gdk_win32_print_hpalette() 350 n = GetPaletteEntries (hpal, 0, npal, pe); in _gdk_win32_print_hpalette() 354 hpal, g_win32_error_message (GetLastError ())); in _gdk_win32_print_hpalette() 357 g_print ("HPALETTE %p: %d (%d) entries\n", hpal, n, npal); in _gdk_win32_print_hpalette()
|
/dports/devel/allegro/allegro-4.4.3.1/src/win/ |
H A D | gdi.c | 107 HPALETTE hpal; in convert_palette_to_hpalette() local 125 hpal = CreatePalette(lp); in convert_palette_to_hpalette() 129 return hpal; in convert_palette_to_hpalette() 142 GetPaletteEntries(hpal, 0, 256, (LPPALETTEENTRY) & lp); in convert_hpalette_to_palette() 314 HPALETTE hpal, holdpal; in get_dib_from_hbitmap() local 353 hpal = convert_palette_to_hpalette(_current_palette); in get_dib_from_hbitmap() 354 holdpal = SelectPalette(hdc, hpal, TRUE); in get_dib_from_hbitmap() 386 DeleteObject(hpal); in get_dib_from_hbitmap() 513 HPALETTE hpal, holdpal; in convert_bitmap_to_hbitmap() local 523 holdpal = SelectPalette(hdc, hpal, TRUE); in convert_bitmap_to_hbitmap() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/ |
H A D | BufferedGraphicsContext.Windows.cs | 222 private bool FillBitmapInfo(IntPtr hdc, IntPtr hpal, ref NativeMethods.BITMAPINFO_FLAT pbmi) in FillBitmapInfo() argument 251 bRet = FillColorTable(hdc, hpal, ref pbmi); in FillBitmapInfo() 287 …private unsafe bool FillColorTable(IntPtr hdc, IntPtr hpal, ref NativeMethods.BITMAPINFO_FLAT pbmi) in FillColorTable() argument 306 if (hpal == IntPtr.Zero) in FillColorTable() 315 … palRet = SafeNativeMethods.GetPaletteEntries(new HandleRef(null, hpal), 0, cColors, aj); in FillColorTable() 396 …private IntPtr CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, int ulWidth, int ulHeight, ref IntPtr … in CreateCompatibleDIB() argument 420 if (FillBitmapInfo(hdc, hpal, ref pbmi)) in CreateCompatibleDIB()
|
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/os2/ |
H A D | I_dive.c | 461 this->hpal= GpiCreatePalette(hab, LCOL_PURECOLOR in CreatePalette() 466 if( this->hpal == NULLHANDLE || this->hpal == GPI_ERROR) in CreatePalette() 470 if (GpiSelectPalette(this->hps, this->hpal) == PAL_ERROR) in CreatePalette() 488 GpiDeletePalette(this->hpal); in DestroyPalette()
|
/dports/x11-toolkits/blt/blt2.5/generic/ |
H A D | missing.h | 16 #define DeletePalette(hpal) DeleteObject((HGDIOBJ)(HPALETTE)(hpal)) argument
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gdk/win32/ |
H A D | gdkmain-win32.c | 169 palette_size (HPALETTE hpal) in palette_size() argument 173 if (!GetObject (hpal, sizeof (npal), &npal)) in palette_size() 180 _gdk_win32_print_hpalette (HPALETTE hpal) in _gdk_win32_print_hpalette() argument 185 npal = palette_size (hpal); in _gdk_win32_print_hpalette() 187 n = GetPaletteEntries (hpal, 0, npal, pe); in _gdk_win32_print_hpalette() 191 hpal, g_win32_error_message (GetLastError ())); in _gdk_win32_print_hpalette() 194 g_print ("HPALETTE %p: %d (%d) entries\n", hpal, n, npal); in _gdk_win32_print_hpalette()
|
/dports/games/scorched3d/scorched-dep-win32/include/wx/wx/msw/ |
H A D | dibutils.h | 46 BOOL wxDibSetUsage(PDIB pdib, HPALETTE hpal,UINT wUsage); 48 BOOL wxDibMapToPalette(PDIB pdib, HPALETTE hpal);
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gdk/win32/ |
H A D | gdkmain-win32.c | 187 palette_size (HPALETTE hpal) in palette_size() argument 191 if (!GetObject (hpal, sizeof (npal), &npal)) in palette_size() 198 _gdk_win32_print_hpalette (HPALETTE hpal) in _gdk_win32_print_hpalette() argument 203 npal = palette_size (hpal); in _gdk_win32_print_hpalette() 205 n = GetPaletteEntries (hpal, 0, npal, pe); in _gdk_win32_print_hpalette() 209 hpal, g_win32_error_message (GetLastError ())); in _gdk_win32_print_hpalette() 212 g_print ("HPALETTE %p: %d (%d) entries\n", hpal, n, npal); in _gdk_win32_print_hpalette()
|
/dports/devel/qmake/qt-x11-free-3.3.8/src/kernel/ |
H A D | qcolor.h | 134 static HPALETTE hPal() { return hpal; } in hPal() 154 static HPALETTE hpal; variable
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gspmdrv.c | 74 HPAL hpal; member 614 GpiDeletePalette(display.hpal); in make_palette() 615 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 954 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 983 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1118 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1168 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | gspmdrv.c | 74 HPAL hpal; member 614 GpiDeletePalette(display.hpal); in make_palette() 615 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 954 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 983 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1118 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1168 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/ |
H A D | gspmdrv.c | 71 HPAL hpal; member 604 GpiDeletePalette(display.hpal); in make_palette() 605 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 937 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 966 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1101 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1151 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gspmdrv.c | 69 HPAL hpal; member 609 GpiDeletePalette(display.hpal); in make_palette() 610 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 949 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 978 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1113 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1163 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/ |
H A D | gspmdrv.c | 71 HPAL hpal; member 604 GpiDeletePalette(display.hpal); in make_palette() 605 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 937 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 966 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1101 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1151 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gspmdrv.c | 71 HPAL hpal; member 604 GpiDeletePalette(display.hpal); in make_palette() 605 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 937 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 966 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1101 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1151 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gspmdrv.c | 71 HPAL hpal; member 604 GpiDeletePalette(display.hpal); in make_palette() 605 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 937 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 966 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1101 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1151 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gspmdrv.c | 69 HPAL hpal; member 609 GpiDeletePalette(display.hpal); in make_palette() 610 display.hpal = GpiCreatePalette(hab, 0L, LCOLF_CONSECRGB, palcount, tbl); in make_palette() 949 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 978 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1113 GpiSelectPalette(hps, display.hpal); in ClientWndProc() 1163 GpiSelectPalette(hps, display.hpal); in ClientWndProc()
|