/dports/x11-wm/afterstep/AfterStep-1.0/afterstep/ |
H A D | colormaps.c | 52 last_cmap = Tmp_win->attr.colormap; in HandleColormapNotify() 56 (last_cmap == cevent->colormap)) in HandleColormapNotify() 71 last_cmap = Tmp_win->attr.colormap; in HandleColormapNotify() 76 (last_cmap == cevent->colormap)) in HandleColormapNotify() 83 (last_cmap == cevent->colormap)) in HandleColormapNotify() 153 if(last_cmap != attributes.colormap) in InstallWindowColormaps() 155 last_cmap = attributes.colormap; in InstallWindowColormaps() 156 XInstallColormap(dpy,attributes.colormap); in InstallWindowColormaps() 163 if(last_cmap != tmp->attr.colormap) in InstallWindowColormaps() 165 last_cmap = tmp->attr.colormap; in InstallWindowColormaps() [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pod/pTk/ |
H A D | GetClrmap.pod | 21 B<Tk_FreeColormap(>I<display, colormap>B<)> 33 Token for window in which colormap will be used. 37 Selects a colormap: either B<new> or the name of a window 42 Display for which I<colormap> was allocated. 44 =item Colormap colormap (in) 55 If its I<string> argument is B<new> then a new colormap is 66 Tk maintains a reference count for each colormap returned by 70 X colormap. 77 to release the colormap. 79 B<new> then the resulting colormap will never [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/other/ |
H A D | pnmcolormap.c | 527 tupletable2 colormap; in newColorMap() local 540 colormap.size = colorCt; in newColorMap() 542 return colormap; in newColorMap() 619 tupletable2 colormap; in colormapFromBv() local 622 colormap = newColorMap(colorCt, depth); in colormapFromBv() 649 return colormap; in colormapFromBv() 952 sortColormap(tupletable2 const colormap, in sortColormap() argument 964 for (i = 0; i < colormap.size; ++i) { in sortColormap() 1001 if (SQR(intsqrt) == colormap.size) in colormapToSquare() 1048 pamP->width = colormap.size; in colormapToSingleRow() [all …]
|
/dports/x11-toolkits/tk86/tk8.6.12/generic/ |
H A D | tkVisual.c | 139 if (cmapPtr->colormap == *colormapPtr) { in Tk_GetVisual() 325 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 339 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 375 Colormap colormap; in Tk_GetColormap() local 394 return cmapPtr->colormap; in Tk_GetColormap() 419 colormap = Tk_Colormap(other); in Tk_GetColormap() 428 if (cmapPtr->colormap == colormap) { in Tk_GetColormap() 432 return colormap; in Tk_GetColormap() 477 if (cmapPtr->colormap == colormap) { in Tk_FreeColormap() 479 XFreeColormap(display, colormap); in Tk_FreeColormap() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/generic/ |
H A D | tkVisual.c | 139 if (cmapPtr->colormap == *colormapPtr) { in Tk_GetVisual() 325 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 339 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 375 Colormap colormap; in Tk_GetColormap() local 394 return cmapPtr->colormap; in Tk_GetColormap() 419 colormap = Tk_Colormap(other); in Tk_GetColormap() 428 if (cmapPtr->colormap == colormap) { in Tk_GetColormap() 432 return colormap; in Tk_GetColormap() 477 if (cmapPtr->colormap == colormap) { in Tk_FreeColormap() 479 XFreeColormap(display, colormap); in Tk_FreeColormap() [all …]
|
/dports/x11-toolkits/tk85/tk8.5.19/generic/ |
H A D | tkVisual.c | 139 if (cmapPtr->colormap == *colormapPtr) { in Tk_GetVisual() 322 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 336 *colormapPtr = cmapPtr->colormap; in Tk_GetVisual() 372 Colormap colormap; in Tk_GetColormap() local 391 return cmapPtr->colormap; in Tk_GetColormap() 414 colormap = Tk_Colormap(other); in Tk_GetColormap() 423 if (cmapPtr->colormap == colormap) { in Tk_GetColormap() 427 return colormap; in Tk_GetColormap() 472 if (cmapPtr->colormap == colormap) { in Tk_FreeColormap() 475 XFreeColormap(display, colormap); in Tk_FreeColormap() [all …]
|
/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/ |
H A D | _trisurf.py | 27 if len(colormap) == 1: 29 face_color = colormap[0] 35 face_color = colormap[-1] 47 colormap[low_color_index], 48 colormap[low_color_index + 1], 68 colormap[low_color_index], 69 colormap[low_color_index + 1], 86 colormap=None, argument 252 colormap=None, argument 473 clrs.validate_colors(colormap) [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/mediax/jai/ |
H A D | ColormapOpImage.java | 153 byte[][] colormap = new byte[3][mapSize]; in initializeColormapOperation() 156 icm.getReds(colormap[0]); in initializeColormapOperation() 157 icm.getGreens(colormap[1]); in initializeColormapOperation() 158 icm.getBlues(colormap[2]); in initializeColormapOperation() 161 transformColormap(colormap); in initializeColormapOperation() 169 byte[] map = colormap[b]; in initializeColormapOperation() 179 byte[] reds = colormap[0]; in initializeColormapOperation() 180 byte[] greens = colormap[1]; in initializeColormapOperation() 181 byte[] blues = colormap[2]; in initializeColormapOperation() 222 protected abstract void transformColormap(byte[][] colormap); in transformColormap() argument
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/includes/ |
H A D | ColorComputer.hxx | 90 …static void getColor(double s, double smin, double srange, double indexOffset, double* colormap, i… 108 …static void getColor(double s, double smin, double srange, double indexOffset, double* colormap, i… 124 …inline static void getDirectColor(T s, double* colormap, int colormapSize, float* returnedColor, b… in getDirectColor() argument 159 returnedColor[0] = (float)colormap[index]; in getDirectColor() 160 returnedColor[1] = (float)colormap[colormapSize + index]; in getDirectColor() 161 returnedColor[2] = (float)colormap[2 * colormapSize + index]; in getDirectColor() 178 …inline static void getDirectByteColor(T s, double* colormap, int colormapSize, unsigned char* retu… in getDirectByteColor() argument 182 getDirectColor(s, colormap, colormapSize, color, clamped); in getDirectByteColor() 218 …static void getClampedDirectColor(double s, double* colormap, int colormapSize, float* returnedCol…
|
/dports/graphics/urt/urt-3.1b1_12/tools/ |
H A D | rlequant.c | 362 colormap, colors_in, bits, 382 add_cube( colormap, colors, cubeside ); 440 colormap, colors_in, bits, 636 add_cube( colormap, colors, cubeside ) in add_cube() argument 637 rle_pixel *colormap[3]; in add_cube() 656 setup_output( hdr, colors, colormap ) in setup_output() argument 659 rle_pixel *colormap[3]; 696 rle_pixel *colormap[3]; 799 rval -= colormap[0][color]; 800 gval -= colormap[1][color]; [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | pamtodjvurle.c | 93 tupletable colormap; in computeColorMap() local 113 *colorhashP = pnm_computetupletablehash(pamP, colormap, numColors); in computeColorMap() 116 *colormapP = colormap; in computeColorMap() 125 tupletable const colormap) { in makeDjvurleHeader() argument 136 red = colormap[colorIndex]->tuple[PAM_RED_PLANE]; in makeDjvurleHeader() 137 grn = colormap[colorIndex]->tuple[PAM_GRN_PLANE]; in makeDjvurleHeader() 138 blu = colormap[colorIndex]->tuple[PAM_BLU_PLANE]; in makeDjvurleHeader() 140 red = grn = blu = colormap[colorIndex]->tuple[0]; in makeDjvurleHeader() 255 tupletable colormap; /* List of all of the colors used */ in main() local 275 makeDjvurleHeader(rlefile, &pam, numColors, colormap); in main() [all …]
|
/dports/textproc/p5-OpenOffice-OODoc/OpenOffice-OODoc-2.125/ |
H A D | Makefile.PL | 18 'colormap=s' => \(my $colormap = ''), 48 unless ($colormap) 54 print "- Your colour map file is now [$colormap]\n"; 55 unless (-f $colormap) 74 $colormap = prompt 77 $colormap 95 $colormap = '' unless $colormap gt ' '; 137 print CF "\t\t<Styles-COLORMAP>$colormap</Styles-COLORMAP>\n";
|
/dports/games/zdoom/zdoom-2.8.1/src/r_data/ |
H A D | colormaps.cpp | 188 FDynamicColormap *colormap; in GetSpecialLights() local 191 for (colormap = &NormalLight; colormap != NULL; colormap = colormap->Next) in GetSpecialLights() 197 return colormap; in GetSpecialLights() 204 colormap->Color = color; in GetSpecialLights() 205 colormap->Fade = fade; in GetSpecialLights() 212 colormap->BuildLights (); in GetSpecialLights() 216 return colormap; in GetSpecialLights() 229 for (colormap = NormalLight.Next; colormap != NULL; colormap = next) in FreeSpecialLights() 231 next = colormap->Next; in FreeSpecialLights() 232 delete[] colormap->Maps; in FreeSpecialLights() [all …]
|
/dports/misc/gpsim/gpsim-0.31.0/gui/ |
H A D | preferences.cc | 37 GdkColormap *colormap = gdk_colormap_get_system(); in initialize() local 48 gdk_colormap_alloc_color(colormap, &normal_bg_color,FALSE,TRUE ); in initialize() 49 gdk_colormap_alloc_color(colormap, &normal_fg_color,FALSE,TRUE ); in initialize() 50 gdk_colormap_alloc_color(colormap, &item_has_changed_color,FALSE,TRUE); in initialize() 51 gdk_colormap_alloc_color(colormap, &breakpoint_color,FALSE,TRUE); in initialize() 52 gdk_colormap_alloc_color(colormap, &alias_color,FALSE,TRUE); in initialize() 53 gdk_colormap_alloc_color(colormap, &invalid_color,FALSE,TRUE); in initialize() 54 gdk_colormap_alloc_color(colormap, &sfr_bg_color,FALSE,TRUE); in initialize()
|
/dports/science/py-dipy/dipy-1.4.1/doc/examples/ |
H A D | segment_clustering_features.py | 145 from dipy.viz import window, actor, colormap 167 colormap = colormap.create_colormap(np.arange(len(clusters))) variable 169 for cluster, color in zip(clusters, colormap): 204 from dipy.viz import window, actor, colormap 222 colormap = colormap.create_colormap(np.arange(len(clusters))) variable 224 for cluster, color in zip(clusters, colormap): 258 from dipy.viz import window, actor, colormap 272 colormap = colormap.create_colormap(np.ravel(clusters.centroids)) variable 274 for cluster, color in zip(clusters, colormap): 310 from dipy.viz import window, colormap [all …]
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/fvwm/ |
H A D | colormaps.c | 89 fw->attr_backup.colormap = attr.colormap; in colormap_handle_colormap_notify() 93 last_cmap = attr.colormap; in colormap_handle_colormap_notify() 99 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 117 fw->attr_backup.colormap = attr.colormap; in colormap_handle_colormap_notify() 121 last_cmap = attr.colormap; in colormap_handle_colormap_notify() 128 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 135 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 208 attributes.colormap = last_cmap; in InstallWindowColormaps() 215 if (last_cmap != attributes.colormap in InstallWindowColormaps() 222 last_cmap = attributes.colormap; in InstallWindowColormaps() [all …]
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/fvwm/ |
H A D | colormaps.c | 88 fw->attr_backup.colormap = attr.colormap; in colormap_handle_colormap_notify() 92 last_cmap = attr.colormap; in colormap_handle_colormap_notify() 98 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 116 fw->attr_backup.colormap = attr.colormap; in colormap_handle_colormap_notify() 120 last_cmap = attr.colormap; in colormap_handle_colormap_notify() 127 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 134 (last_cmap == cevent->colormap)) in colormap_handle_colormap_notify() 207 attributes.colormap = last_cmap; in InstallWindowColormaps() 214 if (last_cmap != attributes.colormap in InstallWindowColormaps() 221 last_cmap = attributes.colormap; in InstallWindowColormaps() [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/mlib/ |
H A D | MlibErrorDiffusionOpImage.java | 101 if(colormap.getNumBands() == 1 && in layoutHelper() 102 colormap.getNumEntries() == 2 && in layoutHelper() 137 colormap.getDataType() == DataBuffer.TYPE_BYTE && in layoutHelper() 138 colormap.getNumBands() == 3) { in layoutHelper() 142 int size = colormap.getNumEntries(); in layoutHelper() 146 byte[] data = colormap.getByteData(i); in layoutHelper() 147 int offset = colormap.getOffset(i); in layoutHelper() 196 colormap.getNumBands(), in MlibErrorDiffusionOpImage() 197 colormap.getNumEntries(), in MlibErrorDiffusionOpImage() 198 colormap.getOffset(), in MlibErrorDiffusionOpImage() [all …]
|
H A D | MlibOrderedDitherOpImage.java | 75 ColorCube colormap) { in layoutHelper() argument 87 if(colormap.getNumBands() == 1 && in layoutHelper() 88 colormap.getNumEntries() == 2 && in layoutHelper() 126 colormap.getNumBands() == 3) { in layoutHelper() 130 int size = colormap.getNumEntries(); in layoutHelper() 134 byte[] data = colormap.getByteData(i); in layoutHelper() 135 int offset = colormap.getOffset(i); in layoutHelper() 169 ColorCube colormap, in MlibOrderedDitherOpImage() argument 172 super(source, layoutHelper(layout, source, colormap), in MlibOrderedDitherOpImage() 182 colormap.getNumBands(), in MlibOrderedDitherOpImage() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/binary/elasticity/ |
H A D | bwr.m | 4 % to red colormap, with white corresponding to the CAXIS value closest 7 % same length as the current colormap. 13 % colormap(bluewhitered(256)), colorbar 17 % colormap(bluewhitered), colorbar 21 % colormap(bluewhitered), colorbar 25 % colormap(bluewhitered) 33 m = size(get(gcf,'colormap'),1); 62 % Interpolate over RGB spaces of colormap 74 % Interpolate over RGB spaces of colormap 90 % Interpolate over RGB spaces of colormap [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/ginzburg-landau/ |
H A D | bwr.m | 4 % to red colormap, with white corresponding to the CAXIS value closest 7 % same length as the current colormap. 13 % colormap(bluewhitered(256)), colorbar 17 % colormap(bluewhitered), colorbar 21 % colormap(bluewhitered), colorbar 25 % colormap(bluewhitered) 33 m = size(get(gcf,'colormap'),1); 62 % Interpolate over RGB spaces of colormap 74 % Interpolate over RGB spaces of colormap 90 % Interpolate over RGB spaces of colormap [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/helmholtz/ |
H A D | bwr.m | 4 % to red colormap, with white corresponding to the CAXIS value closest 7 % same length as the current colormap. 13 % colormap(bluewhitered(256)), colorbar 17 % colormap(bluewhitered), colorbar 21 % colormap(bluewhitered), colorbar 25 % colormap(bluewhitered) 33 m = size(get(gcf,'colormap'),1); 62 % Interpolate over RGB spaces of colormap 74 % Interpolate over RGB spaces of colormap 90 % Interpolate over RGB spaces of colormap [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/maxwells/ |
H A D | bwr.m | 4 % to red colormap, with white corresponding to the CAXIS value closest 7 % same length as the current colormap. 13 % colormap(bluewhitered(256)), colorbar 17 % colormap(bluewhitered), colorbar 21 % colormap(bluewhitered), colorbar 25 % colormap(bluewhitered) 33 m = size(get(gcf,'colormap'),1); 62 % Interpolate over RGB spaces of colormap 74 % Interpolate over RGB spaces of colormap 90 % Interpolate over RGB spaces of colormap [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PDE-OPT/topo-opt/elasticity/ |
H A D | bwr.m | 4 % to red colormap, with white corresponding to the CAXIS value closest 7 % same length as the current colormap. 13 % colormap(bluewhitered(256)), colorbar 17 % colormap(bluewhitered), colorbar 21 % colormap(bluewhitered), colorbar 25 % colormap(bluewhitered) 33 m = size(get(gcf,'colormap'),1); 62 % Interpolate over RGB spaces of colormap 74 % Interpolate over RGB spaces of colormap 90 % Interpolate over RGB spaces of colormap [all …]
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/r_data/ |
H A D | colormaps.cpp | 191 FDynamicColormap *colormap; in GetSpecialLights() local 194 for (colormap = &NormalLight; colormap != NULL; colormap = colormap->Next) in GetSpecialLights() 200 return colormap; in GetSpecialLights() 207 colormap->Color = color; in GetSpecialLights() 208 colormap->Fade = fade; in GetSpecialLights() 215 colormap->BuildLights (); in GetSpecialLights() 219 return colormap; in GetSpecialLights() 232 for (colormap = NormalLight.Next; colormap != NULL; colormap = next) in FreeSpecialLights() 234 next = colormap->Next; in FreeSpecialLights() 235 delete[] colormap->Maps; in FreeSpecialLights() [all …]
|