/dports/graphics/rayshade/rayshade.4.0/libray/libtext/ |
H A D | fbm.c | 44 fbm->colormap = ColormapRead(mapname); 46 fbm->colormap = (Color *)NULL; 66 if (fbm->colormap) { 70 surf->diff.r *= fbm->colormap[index].r; 71 surf->diff.g *= fbm->colormap[index].g; 72 surf->diff.b *= fbm->colormap[index].b; 73 surf->amb.r *= fbm->colormap[index].r; 74 surf->amb.g *= fbm->colormap[index].g; 75 surf->amb.b *= fbm->colormap[index].b;
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/cpp/ |
H A D | MatPlotDecomposer.cpp | 57 double * colormap = NULL; in fillTextureData() local 68 getGraphicObjectProperty(parentFigure, __GO_COLORMAP__, jni_double_vector, (void**) &colormap); in fillTextureData() 79 … ColorComputer::getDirectByteColor(index[i] - 1, colormap, colormapSize, &buffer[4 * i], false); in fillTextureData() 90 … ColorComputer::getDirectByteColor(index[i] - 1, colormap, colormapSize, &buffer[4 * i], false); in fillTextureData() 100 … ColorComputer::getDirectByteColor(index[i] - 1, colormap, colormapSize, &buffer[4 * i], false); in fillTextureData() 110 … ColorComputer::getDirectByteColor(index[i] - 1, colormap, colormapSize, &buffer[4 * i], false); in fillTextureData() 120 … ColorComputer::getDirectByteColor(index[i] - 1, colormap, colormapSize, &buffer[4 * i], false); in fillTextureData() 151 releaseGraphicObjectProperty(__GO_COLORMAP__, colormap, jni_double_vector, colormapSize); in fillTextureData() 165 double* colormap = NULL; in fillTextureData() local 169 … getGraphicObjectProperty(parentFigure, __GO_COLORMAP__, jni_double_vector, (void**) &colormap); in fillTextureData() [all …]
|
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/coders/ |
H A D | cut.c | 506 image->colormap[i].red=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 509 image->colormap[i].red=ClampToQuantum(((double) in ReadCUTImage() 513 image->colormap[i].green=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 516 image->colormap[i].green=ClampToQuantum in ReadCUTImage() 519 image->colormap[i].blue=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 522 image->colormap[i].blue=ClampToQuantum in ReadCUTImage() 627 if (image->colormap[i].red!=sample) goto Finish; in ReadCUTImage() 628 if (image->colormap[i].green!=sample) goto Finish; in ReadCUTImage() 629 if (image->colormap[i].blue!=sample) goto Finish; in ReadCUTImage() 632 image->colormap[1].red=image->colormap[1].green= in ReadCUTImage() [all …]
|
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/coders/ |
H A D | cut.c | 506 image->colormap[i].red=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 509 image->colormap[i].red=ClampToQuantum(((double) in ReadCUTImage() 513 image->colormap[i].green=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 516 image->colormap[i].green=ClampToQuantum in ReadCUTImage() 519 image->colormap[i].blue=(Quantum) ReadBlobLSBShort(palette); in ReadCUTImage() 522 image->colormap[i].blue=ClampToQuantum in ReadCUTImage() 627 if (image->colormap[i].red!=sample) goto Finish; in ReadCUTImage() 628 if (image->colormap[i].green!=sample) goto Finish; in ReadCUTImage() 629 if (image->colormap[i].blue!=sample) goto Finish; in ReadCUTImage() 632 image->colormap[1].red=image->colormap[1].green= in ReadCUTImage() [all …]
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/2D/Source/ |
H A D | rgb.c | 100 uchar *data,*colormap[3]; in gr_init_ipal() local 107 colormap[0] = data; in gr_init_ipal() 108 colormap[1] = data + 256; in gr_init_ipal() 109 colormap[2] = data + 2*256; in gr_init_ipal() 113 colormap[2][i] = r; in gr_init_ipal() 114 colormap[1][i] = g; in gr_init_ipal() 115 colormap[0][i] = b; in gr_init_ipal() 120 inv_cmap_2(256,colormap,5,dist_buf,grd_ipal); in gr_init_ipal() 148 rcenter = colormap[0][cindex] >> nbits; in inv_cmap_2() 149 gcenter = colormap[1][cindex] >> nbits; in inv_cmap_2() [all …]
|
/dports/x11-toolkits/guile-gnome-platform/guile-gnome-platform-2.16.5/gtk/doc/gdk/ |
H A D | defuns-images.xml.texi | 68 @deffn Function gdk-image-get-colormap (self@tie{}@code{<gdk-image>}) @result{}@tie{} (ret@tie{}@c… 69 @deffnx Method get-colormap 71 colormap if the drawable from which it was created has a colormap, or if a 72 colormap was set explicitely with @code{gdk-image-set-colormap}. 79 colormap for the image 85 @deffn Function gdk-image-set-colormap (self@tie{}@code{<gdk-image>}) (colormap@tie{}@code{<gdk-co… 86 @deffnx Method set-colormap 87 Sets the colormap for the image to the given colormap. Normally there's no need 90 colormap of the drawable you intend to render the image to. 96 @item colormap [all …]
|
/dports/graphics/aseprite/aseprite-1.2.9/src/app/file/ |
H A D | gif_format.cpp | 186 colormap->Colors[i].Red, in colormap2rgba() 187 colormap->Colors[i].Green, in colormap2rgba() 430 if (!colormap) { in getFrameColormap() 432 colormap = global; in getFrameColormap() 456 if (!colormap) in getFrameColormap() 459 return colormap; in getFrameColormap() 712 int ncolors = (colormap ? colormap->ColorCount: 1); in createSprite() 1245 if (!colormap) { in writeImage() 1273 (colormap != m_globalColormap ? colormap: nullptr)) == GIF_ERROR) { in writeImage() 1308 if (colormap && colormap != m_globalColormap) in writeImage() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/java/org/scilab/modules/gui/ged/ |
H A D | ColorMapHandler.java | 96 private static Double[] addNewColor(int size, Double[] colormap, Double[] selectedColor) { in addNewColor() argument 105 newColorMap[j + w] = colormap[j]; in addNewColor() 124 Double[] colormap = (Double[]) GraphicController.getController() in searchScilabColor() local 136 if (selectedColor[0].equals(colormap[i]) in searchScilabColor() 137 && selectedColor[1].equals(colormap[size + i]) in searchScilabColor() 138 && selectedColor[2].equals(colormap[2 * size + i])) { in searchScilabColor() 143 Double[] newColorMap = addNewColor(size, colormap, selectedColor); in searchScilabColor() 164 Double[] colormap = (Double[]) GraphicController.getController() in searchRGBcolor() local 179 scilabRGBcolor[0] = colormap[scilabColor - 1]; in searchRGBcolor() 180 scilabRGBcolor[1] = colormap[size + scilabColor - 1]; in searchRGBcolor() [all …]
|
/dports/math/chryzodus/chryzodus/ |
H A D | compute.cpp | 55 colormap = NULL; in Cchryzode() 66 if (colormap) in ~Cchryzode() 69 delete [] colormap; in ~Cchryzode() 146 colormap = new int *[bmp->w]; in calcul() 149 colormap[i] = new int[bmp->h]; in calcul() 150 for (int j=0; j<bmp->h; ++j) colormap[i][j] = 0; in calcul() 196 colormap = new int *[bmp->w]; in render() 199 colormap[i] = new int[bmp->h]; in render() 214 col = sqrt(colormap[i][j]); in render() 220 delete [] colormap; in render() [all …]
|
/dports/irc/insub/insub-16.0/old/dist/ |
H A D | gay-1.4.pl | 215 my @colormap; 218 @colormap = (4,4,7,7,5,5,8,8,9,9,3,3,10,10,11,11,12,12,2,2,6,6,13,13); 221 @colormap = (4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12); 224 while (scalar(@colormap) < 24) { 227 push(@colormap, $color); 234 @colormap = (2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12); 237 @colormap = (3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9); 240 @colormap = (6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13); 246 @colormap = (7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8); 249 @colormap = (4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5); [all …]
|
/dports/games/d2x/d2x-0.2.5/2d/ |
H A D | bitmap.c | 375 mov edi,[colormap] in decode_data_asm() 399 *data = colormap[mapped]; in decode_data_asm() 454 *colormap++ = gr_find_closest_color( r, g, b ); in build_colormap_good() 461 ubyte colormap[256]; in gr_remap_bitmap() local 468 build_colormap_good( palette, colormap, freq ); in gr_remap_bitmap() 471 colormap[super_transparent_color] = 254; in gr_remap_bitmap() 474 colormap[transparent_color] = TRANSPARENCY_COLOR; in gr_remap_bitmap() 487 ubyte colormap[256]; in gr_remap_bitmap_good() local 489 build_colormap_good( palette, colormap, freq ); in gr_remap_bitmap_good() 492 colormap[super_transparent_color] = 254; in gr_remap_bitmap_good() [all …]
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/lib/ |
H A D | Makefile.am | 3 gschem-colormap-bw \ 4 gschem-colormap-darkbg \ 5 gschem-colormap-lightbg \ 10 gschem-colormap-bw \ 11 gschem-colormap-darkbg \ 12 gschem-colormap-lightbg \
|
/dports/graphics/ImageMagick6-nox11/ImageMagick-6.9.12-34/coders/ |
H A D | cut.c | 164 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 169 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 174 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 179 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 188 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 218 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 223 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 530 image->colormap[i].green=ClampToQuantum in ReadCUTImage() 536 image->colormap[i].blue=ClampToQuantum in ReadCUTImage() 645 image->colormap[1].red=image->colormap[1].green= in ReadCUTImage() [all …]
|
H A D | wpg.c | 1276 *colormap; in ReadWPGImage() local 1281 colormap=image->colormap; in ReadWPGImage() 1286 colormap=(PixelPacket *) in ReadWPGImage() 1290 (void) memcpy(image->colormap,colormap,MagickMin( in ReadWPGImage() 1292 colormap=(PixelPacket *) in ReadWPGImage() 1299 if(image->colormap[0].red==0 && in ReadWPGImage() 1301 image->colormap[0].blue==0 && in ReadWPGImage() 1302 image->colormap[1].red==0 && in ReadWPGImage() 1304 image->colormap[1].blue==0) in ReadWPGImage() 1306 image->colormap[1].red = in ReadWPGImage() [all …]
|
/dports/graphics/ImageMagick6/ImageMagick-6.9.12-34/coders/ |
H A D | cut.c | 164 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 169 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 174 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 179 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 188 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 218 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 223 SetPixelRGBO(q,image->colormap+(ssize_t) index); in InsertRow() 530 image->colormap[i].green=ClampToQuantum in ReadCUTImage() 536 image->colormap[i].blue=ClampToQuantum in ReadCUTImage() 645 image->colormap[1].red=image->colormap[1].green= in ReadCUTImage() [all …]
|
H A D | wpg.c | 1276 *colormap; in ReadWPGImage() local 1281 colormap=image->colormap; in ReadWPGImage() 1286 colormap=(PixelPacket *) in ReadWPGImage() 1290 (void) memcpy(image->colormap,colormap,MagickMin( in ReadWPGImage() 1292 colormap=(PixelPacket *) in ReadWPGImage() 1299 if(image->colormap[0].red==0 && in ReadWPGImage() 1301 image->colormap[0].blue==0 && in ReadWPGImage() 1302 image->colormap[1].red==0 && in ReadWPGImage() 1304 image->colormap[1].blue==0) in ReadWPGImage() 1306 image->colormap[1].red = in ReadWPGImage() [all …]
|
/dports/graphics/pngnq/pngnq-1.1/src/ |
H A D | neuquant32.c | 175 static nq_colormap colormap[256]; variable 205 … nq_colormap tempc = colormap[smallpos]; colormap[smallpos] = colormap[i]; colormap[i] = tempc; in inxbuild() 242 a = colormap[i].r - r; in slowinxsearch() 245 a = colormap[i].g - g; in slowinxsearch() 248 a = colormap[i].b - b; in slowinxsearch() 251 a = colormap[i].al - al; in slowinxsearch() 290 a = colormap[i].r - r; in inxsearch() 293 a = colormap[i].b - b; in inxsearch() 296 a = colormap[i].al - al; in inxsearch() 309 a = colormap[j].b - b; in inxsearch() [all …]
|
/dports/x11-toolkits/fltk/fltk-1.3.8/src/ |
H A D | Fl_BMP_Image.cxx | 89 uchar colormap[256][3];// Colormap in Fl_BMP_Image() local 236 *ptr++ = colormap[1][2]; in Fl_BMP_Image() 237 *ptr++ = colormap[1][1]; in Fl_BMP_Image() 238 *ptr++ = colormap[1][0]; in Fl_BMP_Image() 240 *ptr++ = colormap[0][2]; in Fl_BMP_Image() 241 *ptr++ = colormap[0][1]; in Fl_BMP_Image() 242 *ptr++ = colormap[0][0]; in Fl_BMP_Image() 312 *ptr++ = colormap[temp & 15][2]; in Fl_BMP_Image() 370 *ptr++ = colormap[temp][2]; in Fl_BMP_Image() 371 *ptr++ = colormap[temp][1]; in Fl_BMP_Image() [all …]
|
/dports/x11-toolkits/ntk/ntk/src/ |
H A D | Fl_BMP_Image.cxx | 91 uchar colormap[256][3];// Colormap in Fl_BMP_Image() local 227 *ptr++ = colormap[1][2]; in Fl_BMP_Image() 228 *ptr++ = colormap[1][1]; in Fl_BMP_Image() 229 *ptr++ = colormap[1][0]; in Fl_BMP_Image() 231 *ptr++ = colormap[0][2]; in Fl_BMP_Image() 232 *ptr++ = colormap[0][1]; in Fl_BMP_Image() 233 *ptr++ = colormap[0][0]; in Fl_BMP_Image() 303 *ptr++ = colormap[temp & 15][2]; in Fl_BMP_Image() 361 *ptr++ = colormap[temp][2]; in Fl_BMP_Image() 362 *ptr++ = colormap[temp][1]; in Fl_BMP_Image() [all …]
|
/dports/math/giacxcas/fltk-1.3.0/src/ |
H A D | Fl_BMP_Image.cxx | 91 uchar colormap[256][3];// Colormap in Fl_BMP_Image() local 227 *ptr++ = colormap[1][2]; in Fl_BMP_Image() 228 *ptr++ = colormap[1][1]; in Fl_BMP_Image() 229 *ptr++ = colormap[1][0]; in Fl_BMP_Image() 231 *ptr++ = colormap[0][2]; in Fl_BMP_Image() 232 *ptr++ = colormap[0][1]; in Fl_BMP_Image() 233 *ptr++ = colormap[0][0]; in Fl_BMP_Image() 303 *ptr++ = colormap[temp & 15][2]; in Fl_BMP_Image() 361 *ptr++ = colormap[temp][2]; in Fl_BMP_Image() 362 *ptr++ = colormap[temp][1]; in Fl_BMP_Image() [all …]
|
/dports/math/octave/octave-6.4.0/doc/interpreter/ |
H A D | image.texi | 746 with the corresponding colormap (@qcode{"colormap"} field). 824 @qcode{"colormap"}. 842 @qcode{"colormap"}. 856 @c colormap scripts/image/colormap.m 1000 Create color colormap. This colormap is composed of as many equally 1017 Create color colormap. The colormap varies from cyan to magenta. 1218 Create color colormap. This colormap varies from green to yellow. 1243 Create color colormap. This colormap is completely white. 1255 Create color colormap. This colormap varies from blue to green. 1290 colormap. [all …]
|
/dports/audio/xwave/xwave2-981109/FWF/src/converters/ |
H A D | choosecol.c | 22 Colormap colormap; local 26 colormap = self->core.colormap; 28 colormap = DefaultColormapOfScreen(XtScreen(self)); 31 XQueryColor(XtDisplay(self), colormap, &color); 35 if (! XAllocColor(XtDisplay(self), colormap, &color)) 38 && ! XAllocNamedColor(XtDisplay(self), colormap, "gray75",
|
/dports/textproc/greple/greple-5ad6491/lib/App/Greple/ |
H A D | diff.pm | 112 --re :ctrl: --colormap "CS" \ 113 --re :sep: --colormap "C" \ 114 --re :mark_old: --re :text_old: --colormap "RS R" \ 116 --re :mark_alt: --re :text_alt: --colormap "BS B" 129 --re :ctrl_u: --colormap C \ 130 --re :mark_old_u: --colormap RS \ 131 --re :text_old_u: --colormap R \ 132 --re :mark_new_u: --colormap GS \ 133 --re :text_new_u: --colormap G 152 --re '(?s)\[\-.*?\-\]' --colormap R \ [all …]
|
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/clx/mit-clx/ |
H A D | requests.lisp | 867 (colormap colormap)) 880 (colormap colormap)) 886 (colormap colormap))) 891 (colormap colormap))) 951 (colormap colormap) 971 (colormap colormap) 985 (colormap colormap) 1004 (colormap colormap) 1016 (colormap colormap) 1047 ((colormap colormap) [all …]
|
/dports/x11/cl-clx/clx-0.7.5-65-g8e07155/ |
H A D | requests.lisp | 869 (colormap colormap)) 882 (colormap colormap)) 888 (colormap colormap))) 893 (colormap colormap))) 953 (colormap colormap) 973 (colormap colormap) 987 (colormap colormap) 1006 (colormap colormap) 1018 (colormap colormap) 1049 ((colormap colormap) [all …]
|