Home
last modified time | relevance | path

Searched refs:colormap (Results 26 – 50 of 7843) sorted by relevance

12345678910>>...314

/dports/x11-toolkits/tk85/tk8.5.19/unix/
H A DtkUnixColor.c47 Colormap colormap);
126 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColor() local
155 DeleteStressedCmap(display, colormap); in TkpGetColor()
175 DeleteStressedCmap(display, colormap); in TkpGetColor()
215 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColorByValue() local
222 DeleteStressedCmap(display, colormap); in TkpGetColorByValue()
264 Colormap colormap = Tk_Colormap(tkwin); in FindClosestColor() local
275 stressPtr->colormap = colormap; in FindClosestColor()
299 if (stressPtr->colormap == colormap) { in FindClosestColor()
389 if (stressPtr->colormap == colormap) { in DeleteStressedCmap()
[all …]
/dports/games/odamex/odamex-src-0.7.0/server/src/
H A Dv_palette.cpp140 colormap = colormap->next; in shaderef_t()
141 } while (colormap); in shaderef_t()
239 while (colormap) { in GetSpecialLights()
240 if (color == colormap->color && fade == colormap->fade) in GetSpecialLights()
241 return colormap; in GetSpecialLights()
243 colormap = colormap->next; in GetSpecialLights()
247 colormap = (dyncolormap_t *)Z_Malloc (sizeof(*colormap), PU_LEVEL, 0); in GetSpecialLights()
250 maps->colormap = (byte *)(((ptrdiff_t)maps->colormap + 255) & ~0xff); in GetSpecialLights()
255 colormap->color = color; in GetSpecialLights()
256 colormap->fade = fade; in GetSpecialLights()
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/app/core/
H A Dgimpimage-colormap.c63 g_return_if_fail (private->colormap == NULL); in gimp_image_colormap_init()
110 g_return_if_fail (private->colormap != NULL); in gimp_image_colormap_dispose()
127 g_return_if_fail (private->colormap != NULL); in gimp_image_colormap_free()
130 g_clear_pointer (&private->colormap, g_free); in gimp_image_colormap_free()
181 const guchar *colormap, in gimp_image_set_colormap() argument
198 if (private->colormap) in gimp_image_set_colormap()
203 if (colormap) in gimp_image_set_colormap()
204 memcpy (private->colormap, colormap, n_colors * 3); in gimp_image_set_colormap()
238 if (private->colormap) in gimp_image_unset_colormap()
260 g_return_if_fail (private->colormap != NULL); in gimp_image_get_colormap_entry()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/gfxoutputdrv/
H A Dnativedrv.c145 dest->colormap[k++] = bordercolor; in native_borderize_colormap()
152 dest->colormap[k++] = bordercolor; in native_borderize_colormap()
157 dest->colormap[k++] = source->colormap[l++]; in native_borderize_colormap()
173 lib_free(source->colormap); in native_borderize_colormap()
286 dest->colormap[k++] = source->colormap[l++]; in native_crop_and_borderize_colormap()
307 lib_free(source->colormap); in native_crop_and_borderize_colormap()
335 lib_free(source->colormap); in native_scale_colormap()
451 source->colormap[(i * 320) + j] = vicii_color_to_bw(source->colormap[(i * 320) + j]); in vicii_color_to_vicii_bw_colormap()
486 source->colormap[(i * 320) + j] = vicii_color_to_gray(source->colormap[(i * 320) + j]); in vicii_color_to_vicii_gray_colormap()
582 data->colormap = lib_malloc(320 * 200); in native_vicii_text_mode_render()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/
H A DtkColor.c122 Colormap colormap));
175 nameKey.colormap = Tk_Colormap(tkwin);
236 tkColPtr->colormap = nameKey.colormap;
294 valueKey.colormap = Tk_Colormap(tkwin);
320 tkColPtr->colormap = valueKey.colormap;
563 stressPtr->colormap = colormap;
583 if (stressPtr->colormap == colormap) {
657 TkCmapStressed(tkwin, colormap) in TkCmapStressed() argument
666 if (stressPtr->colormap == colormap) {
699 DeleteStressedCmap(display, colormap) in DeleteStressedCmap() argument
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/
H A DtkColor.c122 Colormap colormap));
175 nameKey.colormap = Tk_Colormap(tkwin);
236 tkColPtr->colormap = nameKey.colormap;
294 valueKey.colormap = Tk_Colormap(tkwin);
320 tkColPtr->colormap = valueKey.colormap;
563 stressPtr->colormap = colormap;
583 if (stressPtr->colormap == colormap) {
657 TkCmapStressed(tkwin, colormap) in TkCmapStressed() argument
666 if (stressPtr->colormap == colormap) {
699 DeleteStressedCmap(display, colormap) in DeleteStressedCmap() argument
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/
H A DtkColor.c122 Colormap colormap));
175 nameKey.colormap = Tk_Colormap(tkwin);
236 tkColPtr->colormap = nameKey.colormap;
294 valueKey.colormap = Tk_Colormap(tkwin);
320 tkColPtr->colormap = valueKey.colormap;
563 stressPtr->colormap = colormap;
583 if (stressPtr->colormap == colormap) {
657 TkCmapStressed(tkwin, colormap) in TkCmapStressed() argument
666 if (stressPtr->colormap == colormap) {
699 DeleteStressedCmap(display, colormap) in DeleteStressedCmap() argument
[all …]
/dports/games/xboing/xboing/
H A Dinit.c144 Colormap colormap; variable
215 Colormap colormap;
234 Colormap colormap;
365 if (colormap) XUninstallColormap(display, colormap);
1039 InitialiseColourNames(display, colormap);
1044 CreateAllWindows(display, colormap, argv, argc);
1053 SetBackgrounds(display, colormap);
1079 SetUpKeys(display, playWindow, colormap);
1087 SetUpBonus(display, mainWindow, colormap);
1093 InitialiseCycleColourNames(display, colormap);
[all …]
/dports/graphics/wings/libigl-2.1.0/include/igl/
H A Dcolormap.cpp1320 IGL_INLINE void igl::colormap( in colormap() function in igl
1326 colormap(inferno_cm, x_in, r, g, b); in colormap()
1332 colormap(magma_cm, x_in, r, g, b); in colormap()
1335 colormap(parula_cm, x_in, r, g, b); in colormap()
1338 colormap(plasma_cm, x_in, r, g, b); in colormap()
1341 colormap(viridis_cm, x_in, r, g, b); in colormap()
1350 IGL_INLINE void igl::colormap( in colormap() function in igl
1374 IGL_INLINE void igl::colormap( in colormap() function in igl
1382 return colormap(cm, Z, min_z, max_z, C); in colormap()
1386 IGL_INLINE void igl::colormap( in colormap() function in igl
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/
H A Dcolormap.cpp1320 IGL_INLINE void igl::colormap( in colormap() function in igl
1326 colormap(inferno_cm, x_in, r, g, b); in colormap()
1332 colormap(magma_cm, x_in, r, g, b); in colormap()
1335 colormap(parula_cm, x_in, r, g, b); in colormap()
1338 colormap(plasma_cm, x_in, r, g, b); in colormap()
1341 colormap(viridis_cm, x_in, r, g, b); in colormap()
1350 IGL_INLINE void igl::colormap( in colormap() function in igl
1374 IGL_INLINE void igl::colormap( in colormap() function in igl
1382 return colormap(cm, Z, min_z, max_z, C); in colormap()
1386 IGL_INLINE void igl::colormap( in colormap() function in igl
[all …]
/dports/emulators/z80pack/z80pack-1.37/iodevices/
H A Dcromemco-dazzler.c60 static Colormap colormap; variable
136 colormap = DefaultColormap(display, 0); in open_display()
176 XAllocColor(display, colormap, &grays[0]); in open_display()
178 XAllocColor(display, colormap, &grays[1]); in open_display()
180 XAllocColor(display, colormap, &grays[2]); in open_display()
182 XAllocColor(display, colormap, &grays[3]); in open_display()
184 XAllocColor(display, colormap, &grays[4]); in open_display()
186 XAllocColor(display, colormap, &grays[5]); in open_display()
188 XAllocColor(display, colormap, &grays[6]); in open_display()
190 XAllocColor(display, colormap, &grays[7]); in open_display()
[all …]
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/
H A Dgdkcolor.c75 gdk_colormap_get_visual (GdkColormap *colormap) in gdk_colormap_get_visual() argument
79 return colormap->visual; in gdk_colormap_get_visual()
93 gdk_colors_store (GdkColormap *colormap, in gdk_colors_store() argument
102 colormap->colors[i].red = colors[i].red; in gdk_colors_store()
104 colormap->colors[i].blue = colors[i].blue; in gdk_colors_store()
107 gdk_colormap_change (colormap, ncolors); in gdk_colors_store()
157 gdk_color_white (GdkColormap *colormap, in gdk_color_white() argument
162 g_return_val_if_fail (colormap != NULL, FALSE); in gdk_color_white()
189 gdk_color_black (GdkColormap *colormap, in gdk_color_black() argument
231 gdk_colormap_alloc_color (GdkColormap *colormap, in gdk_colormap_alloc_color() argument
[all …]
/dports/graphics/geomview/geomview-1.9.5/src/lib/gprim/discgrp/
H A Dcolormap.c66 ColorA *colormap = NULL; variable
87 colormap = (ColorA *) malloc(sizeof(ColorA) * size);
90 &colormap[cnt].r, &colormap[cnt].g, &colormap[cnt].b, &colormap[cnt].a) == 4)
95 colormap = (ColorA *) realloc(colormap, sizeof(ColorA) * size);
96 if (colormap == NULL) goto ZXCV;
104 colormap = builtin;
119 if (n < 0 || n > cnt) return(colormap[0]);
120 else return (colormap[n]);
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/
H A Dcolormap.c66 if (attributes.colormap == None) in wColormapInstallForWindow()
67 attributes.colormap = scr->colormap; in wColormapInstallForWindow()
69 if (scr->current_colormap != attributes.colormap) { in wColormapInstallForWindow()
70 scr->current_colormap = attributes.colormap; in wColormapInstallForWindow()
77 XInstallColormap(dpy, attributes.colormap); in wColormapInstallForWindow()
83 attributes.colormap = None; in wColormapInstallForWindow()
86 if (attributes.colormap == None) in wColormapInstallForWindow()
87 attributes.colormap = scr->colormap; in wColormapInstallForWindow()
89 if (scr->current_colormap != attributes.colormap) { in wColormapInstallForWindow()
90 scr->current_colormap = attributes.colormap; in wColormapInstallForWindow()
[all …]
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/
H A Dcolormap.c66 if (attributes.colormap == None) in wColormapInstallForWindow()
67 attributes.colormap = scr->colormap; in wColormapInstallForWindow()
69 if (scr->current_colormap != attributes.colormap) { in wColormapInstallForWindow()
70 scr->current_colormap = attributes.colormap; in wColormapInstallForWindow()
77 XInstallColormap(dpy, attributes.colormap); in wColormapInstallForWindow()
83 attributes.colormap = None; in wColormapInstallForWindow()
86 if (attributes.colormap == None) in wColormapInstallForWindow()
87 attributes.colormap = scr->colormap; in wColormapInstallForWindow()
89 if (scr->current_colormap != attributes.colormap) { in wColormapInstallForWindow()
90 scr->current_colormap = attributes.colormap; in wColormapInstallForWindow()
[all …]
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/magick/
H A Dcolormap.c75 if (image->colormap == (PixelPacket *) NULL) in AllocateImageColormap()
88 image->colormap[i].red=quantum; in AllocateImageColormap()
89 image->colormap[i].green=quantum; in AllocateImageColormap()
90 image->colormap[i].blue=quantum; in AllocateImageColormap()
91 image->colormap[i].opacity=OpaqueOpacity; in AllocateImageColormap()
143 *colormap = image->colormap; in CycleColormapCallBack() local
310 image->colormap[i].red=0; in ReallocateImageColormap()
311 image->colormap[i].green=0; in ReallocateImageColormap()
312 image->colormap[i].blue=0; in ReallocateImageColormap()
455 if (ColorMatch(&colormap[j],&image->colormap[i])) in ReplaceImageColormap()
[all …]
/dports/emulators/vice/vice-3.5/src/gfxoutputdrv/
H A Dnativedrv.c172 dest->colormap[k++] = bordercolor; in native_borderize_colormap()
179 dest->colormap[k++] = bordercolor; in native_borderize_colormap()
184 dest->colormap[k++] = source->colormap[l++]; in native_borderize_colormap()
200 lib_free(source->colormap); in native_borderize_colormap()
316 dest->colormap[k++] = source->colormap[l++]; in native_crop_and_borderize_colormap()
337 lib_free(source->colormap); in native_crop_and_borderize_colormap()
369 lib_free(source->colormap); in native_scale_colormap()
471 dest->colormap = lib_malloc(8 * 8); in native_is_colormap_multicolor()
490 lib_free(dest->colormap); in native_is_colormap_multicolor()
525 source->colormap[(i * 320) + j] = vicii_color_to_bw(source->colormap[(i * 320) + j]); in vicii_color_to_vicii_bw_colormap()
[all …]
/dports/textproc/fox-xml/fox-4.1.2-91-g9c6716e/wkml/
H A Dm_wkml_coverage.F9089 allocate(colormap(numbit_))
102 values=reflectance, mask=1.0d0, colormap=colormap)
147 if (present(colormap)) then
154 if (present(colormap)) then
161 if (present(colormap)) then
162 numcolors = size(colormap)
274 if (present(colormap)) then
281 if (present(colormap)) then
288 if (present(colormap)) then
404 if (present(colormap)) then
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_draw8.c552 UINT8 *colormap; in R_DrawSpan_8() local
661 UINT8 *colormap; in R_DrawTiltedSpan_8() local
794 UINT8 *colormap; in R_DrawTiltedTranslucentSpan_8() local
926 UINT8 *colormap; in R_DrawTiltedTranslucentWaterSpan_8() local
1057 UINT8 *colormap; in R_DrawTiltedSplat_8() local
1199 UINT8 *colormap; in R_DrawSplat_8() local
1318 UINT8 *colormap; in R_DrawTranslucentSplat_8() local
1419 UINT8 *colormap; in R_DrawFloorSprite_8() local
1530 UINT8 *colormap; in R_DrawTranslucentFloorSprite_8() local
1635 UINT8 *colormap; in R_DrawTiltedFloorSprite_8() local
[all …]
/dports/math/py-pandas/pandas-1.2.5/pandas/plotting/_matplotlib/
H A Dstyle.py32 colormap: Optional["Colormap"] = None,
73 colormap=colormap,
84 colormap: Optional[Union[str, "Colormap"]],
123 if colormap is not None:
143 colormap: Union[str, "Colormap"],
147 colormap = _get_cmap_instance(colormap)
153 if isinstance(colormap, str):
154 cmap = colormap
155 colormap = cm.get_cmap(colormap)
156 if colormap is None:
[all …]
/dports/x11/p5-X11-Protocol-Other/X11-Protocol-Other-31/t/
H A DTOG_CUP.t139 my $colormap;
141 $colormap = $X->new_rsrc;
148 if (defined $colormap) {
163 if (defined $colormap) {
177 if (defined $colormap) {
178 $X->FreeColormap($colormap);
194 my $colormap;
196 $colormap = $X->new_rsrc;
203 if (defined $colormap) {
218 if (defined $colormap) {
[all …]
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/wrlib/
H A Dsave_xpm.c134 if (!colormap) in outputcolormap()
137 for (index = 0; colormap != NULL; colormap = colormap->next, index++) { in outputcolormap()
138 colormap->index = index; in outputcolormap()
140 index2str(buf, index, charsPerPixel), colormap->red, colormap->green, colormap->blue); in outputcolormap()
144 static void freecolormap(XPMColor * colormap) in freecolormap() argument
148 while (colormap) { in freecolormap()
149 tmp = colormap->next; in freecolormap()
150 free(colormap); in freecolormap()
151 colormap = tmp; in freecolormap()
162 XPMColor *colormap = NULL; in RSaveXPM() local
[all …]
/dports/x11-wm/libwraster/WindowMaker-0.95.9/wrlib/
H A Dsave_xpm.c134 if (!colormap) in outputcolormap()
137 for (index = 0; colormap != NULL; colormap = colormap->next, index++) { in outputcolormap()
138 colormap->index = index; in outputcolormap()
140 index2str(buf, index, charsPerPixel), colormap->red, colormap->green, colormap->blue); in outputcolormap()
144 static void freecolormap(XPMColor * colormap) in freecolormap() argument
148 while (colormap) { in freecolormap()
149 tmp = colormap->next; in freecolormap()
150 free(colormap); in freecolormap()
151 colormap = tmp; in freecolormap()
162 XPMColor *colormap = NULL; in RSaveXPM() local
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/sciplot/
H A Dchoosecol.c24 Colormap colormap; local
28 colormap = self->core.colormap;
30 colormap = DefaultColormapOfScreen(XtScreen(self));
33 XQueryColor(XtDisplay(self), colormap, &color);
37 if (! XAllocColor(XtDisplay(self), colormap, &color))
40 && ! XAllocNamedColor(XtDisplay(self), colormap, "gray75",
57 Colormap colormap; local
66 colormap = self->core.colormap;
68 colormap = DefaultColormapOfScreen(XtScreen(self));
70 colormap = XCCGetColormap(xcc);
[all …]
/dports/x11-toolkits/guile-gnome-platform/guile-gnome-platform-2.16.5/gtk/doc/gdk/
H A Ddefuns-colors.xml.texi11 @deftp Class <gdk-colormap>
41 @item colormap
42 a @code{<gdk-colormap>}.
62 @item colormap
63 a @code{<gdk-colormap>}.
100 code. Use @code{gdk-colormap-alloc-color} instead.
102 Allocates a single color from a colormap.
105 @item colormap
106 a @code{<gdk-colormap>}.
129 @item colormap
[all …]

12345678910>>...314