Home
last modified time | relevance | path

Searched refs:NumColors (Results 1 – 25 of 271) sorted by relevance

1234567891011

/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/
H A Doxygenpalette.h63 NumColors enumerator
95 _activeColors( NumColors, ColorUtils::Rgba() ), in Palette()
96 _inactiveColors( NumColors, ColorUtils::Rgba() ), in Palette()
97 _disabledColors( NumColors, ColorUtils::Rgba() ), in Palette()
104 _activeColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
105 _inactiveColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
106 _disabledColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
/dports/x11-themes/gtk3-oxygen-engine/oxygen-gtk3-1.4.1/src/
H A Doxygenpalette.h63 NumColors enumerator
95 _activeColors( NumColors, ColorUtils::Rgba() ), in Palette()
96 _inactiveColors( NumColors, ColorUtils::Rgba() ), in Palette()
97 _disabledColors( NumColors, ColorUtils::Rgba() ), in Palette()
104 _activeColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
105 _inactiveColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
106 _disabledColors = ColorList( NumColors, ColorUtils::Rgba() ); in clear()
/dports/graphics/giflib/giflib-5.2.1/
H A Dgifhisto.c55 int i, j, ErrorCode, NumFiles, ExtCode, CodeSize, NumColors = 2, ImageNum = 0; in main() local
112 NumColors = GifFileIn->Image.ColorMap->ColorCount; in main()
114 NumColors = GifFileIn->SColorMap->ColorCount; in main()
118 if ((ImageHeight / NumColors) * NumColors != ImageHeight) in main()
182 for (i = 0; i < NumColors; i++) in main()
208 for (Scaler = 0, i = 0; i < NumColors; i++) if (Histogram[i] > Scaler) in main()
214 for (Count = ImageHeight, i = 0, Color = 1; i < NumColors; i++) { in main()
226 for (j = 0; j < ImageHeight / NumColors; j++) { in main()
/dports/cad/zcad/zcad-8b8a693/cad_source/other/AGraphLaz/Test/Graph/
H A DTestMapColoring.pas16 NumColors: Integer;
26 NumColors:=MapFiveColoring(G, Colors);
27 if NumColors <> 3 then begin
32 writeln('Approximate chromatic number: ', NumColors);
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/BMPImporter/
H A DBMPImporter.cpp37 BitCount = PaddedRowLength = NumColors = 0; in BMPImporter()
97 NumColors = 256; in Open()
99 NumColors = 16; in Open()
100 Palette = ( Color * ) malloc( 4 * NumColors ); in Open()
102 for (unsigned int i = 0; i < NumColors; i++) { in Open()
240 …spr = core->GetVideoDriver()->CreatePalettedSprite(Region(0,0, Width, Height), NumColors == 16 ? 4… in GetSprite2D()
253 pal[i].r = Palette[i%NumColors].r; in GetPalette()
254 pal[i].g = Palette[i%NumColors].g; in GetPalette()
255 pal[i].b = Palette[i%NumColors].b; in GetPalette()
298 data->SetPixel(x,y,Palette[p[y*Width + x]%NumColors]); in GetImage()
/dports/math/vtk8/VTK-8.2.0/Rendering/OSPRay/
H A DvtkOSPRayTetrahedraMapperNode.cxx45 this->NumColors = 128; in vtkOSPRayTetrahedraMapperNode()
281 this->TFVals.resize(this->NumColors*3); in Render()
282 this->TFOVals.resize(this->NumColors); in Render()
285 this->NumColors, in Render()
289 this->NumColors, in Render()
297 for(int i=0; i < this->NumColors; i++) in Render()
302 OSPData colorData = ospNewData(this->NumColors, in Render()
307 OSPData tfAlphaData = ospNewData(NumColors, OSP_FLOAT, &TFOVals[0]); in Render()
H A DvtkOSPRayVolumeMapperNode.cxx46 this->NumColors = 128; in vtkOSPRayVolumeMapperNode()
344 this->TFVals.resize(this->NumColors*3); in UpdateTransferFunction()
345 this->TFOVals.resize(this->NumColors); in UpdateTransferFunction()
369 this->NumColors, in UpdateTransferFunction()
373 this->NumColors, in UpdateTransferFunction()
382 for(int i=0; i < this->NumColors; i++) in UpdateTransferFunction()
387 OSPData colorData = ospNewData(this->NumColors, in UpdateTransferFunction()
392 OSPData tfAlphaData = ospNewData(this->NumColors, OSP_FLOAT, &this->TFOVals[0]); in UpdateTransferFunction()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/image/gif/
H A Dwriter.go249 NumColors int member
302 if opts.NumColors < 1 || 256 < opts.NumColors {
303 opts.NumColors = 256
310 if !ok || len(pm.Palette) > opts.NumColors {
312 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
314 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/math/vtk9/VTK-9.1.0/Rendering/RayTracing/
H A DvtkOSPRayUnstructuredVolumeMapperNode.cxx48 this->NumColors = 128; in vtkOSPRayUnstructuredVolumeMapperNode()
300 tfCVals.resize(this->NumColors * 3); in Render()
301 tfOVals.resize(this->NumColors); in Render()
328 scalarTF->GetTable(range[0], range[1], this->NumColors, &tfOVals[0]); in Render()
329 colorTF->GetTable(range[0], range[1], this->NumColors, &tfCVals[0]); in Render()
336 for (int i = 0; i < this->NumColors; i++) in Render()
341 OSPData colorData = ospNewCopyData1D(&tfCVals[0], OSP_VEC3F, this->NumColors); in Render()
345 OSPData tfAlphaData = ospNewCopyData1D(&tfOVals[0], OSP_FLOAT, NumColors); in Render()
H A DvtkOSPRayVolumeMapperNode.cxx47 this->NumColors = 128; in vtkOSPRayVolumeMapperNode()
387 this->TFVals.resize(this->NumColors * 3); in UpdateTransferFunction()
388 this->TFOVals.resize(this->NumColors); in UpdateTransferFunction()
399 scalarTF->GetTable(tfRangeD[0], tfRangeD[1], this->NumColors, &this->TFOVals[0]); in UpdateTransferFunction()
400 colorTF->GetTable(tfRangeD[0], tfRangeD[1], this->NumColors, &this->TFVals[0]); in UpdateTransferFunction()
405 OSPData colorData = ospNewCopyData1D(&this->TFVals[0], OSP_VEC3F, this->NumColors); in UpdateTransferFunction()
411 OSPData tfAlphaData = ospNewCopyData1D(&this->TFOVals[0], OSP_FLOAT, this->NumColors); in UpdateTransferFunction()
/dports/comms/linrad/linrad-04.02/
H A Dgifsave.c113 NumColors; /* number of colors in color table */ variable
747 NumColors = numcolors ? (1 << BitsNeeded(numcolors)) : 0; in GIF_Create()
760 if (NumColors) { in GIF_Create()
761 SD.GlobalColorTableSize = BitsNeeded(NumColors) - 1; in GIF_Create()
779 if (NumColors) { in GIF_Create()
780 tabsize = NumColors * 3; in GIF_Create()
879 if (NumColors) in GIF_CompressImage()
880 if ((Write(ColorTable, NumColors * 3)) != GIF_OK) in GIF_CompressImage()
899 codesize = BitsNeeded(NumColors); in GIF_CompressImage()
/dports/www/mimetex/mimetex-20120331.1.74/
H A Dgifsave.c133 NumColors; /* number of colors in color table */
891 NumColors = numcolors ? (1 << BitsNeeded(numcolors)) : 0;
907 if (NumColors) {
908 SD.GlobalColorTableSize = BitsNeeded(NumColors) - 1;
926 if (NumColors) {
927 tabsize = NumColors * 3;
1043 if (NumColors)
1044 if ((Write(ColorTable, NumColors * 3)) != GIF_OK)
1068 codesize = BitsNeeded(NumColors);
/dports/cad/leocad/leocad-21.06/qt/
H A Dlc_qcolorlist.cpp352 int NumColors = (int)mGroups[CurGroup].Cells.size(); in keyPressEvent() local
354 if (mCurrentCell < NumCells + NumColors) in keyPressEvent()
357 NumCells += NumColors; in keyPressEvent()
369 size_t NumColors = mGroups[CurGroup - 1].Cells.size(); in keyPressEvent() local
370 size_t NumColumns = NumColors % mColumns; in keyPressEvent()
380 int NumColors = (int)mGroups[CurGroup].Cells.size(); in keyPressEvent() local
382 if (mCurrentCell + mColumns < NumCells + NumColors) in keyPressEvent()
386 size_t NumColumns = NumColors % mColumns; in keyPressEvent()
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/image/gif/
H A Dwriter.go278 NumColors int member
351 if opts.NumColors < 1 || 256 < opts.NumColors {
352 opts.NumColors = 256
359 if !ok || len(pm.Palette) > opts.NumColors {
361 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
363 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/image/gif/
H A Dwriter.go278 NumColors int member
351 if opts.NumColors < 1 || 256 < opts.NumColors {
352 opts.NumColors = 256
359 if !ok || len(pm.Palette) > opts.NumColors {
361 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
363 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/image/gif/
H A Dwriter.go278 NumColors int member
351 if opts.NumColors < 1 || 256 < opts.NumColors {
352 opts.NumColors = 256
359 if !ok || len(pm.Palette) > opts.NumColors {
361 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
363 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/image/gif/
H A Dwriter.go299 NumColors int member
372 if opts.NumColors < 1 || 256 < opts.NumColors {
373 opts.NumColors = 256
380 if !ok || len(pm.Palette) > opts.NumColors {
382 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
384 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/games/openxcom/OpenXcom-1.0/src/Engine/
H A DFlc.cpp185 Uint16 NumColors; in COLORS256() local
194 if(!(NumColors=*(pSrc++))) { in COLORS256()
195 NumColors=256; in COLORS256()
198 while(NumColors--) { in COLORS256()
346 Uint16 NumColors, NumColorPackets; in DECODE_COLOR() local
355 if(!(NumColors=*(pSrc++))) { in DECODE_COLOR()
356 NumColors=256; in DECODE_COLOR()
359 while(NumColors--) { in DECODE_COLOR()
/dports/lang/gcc8/gcc-8.5.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
429 if opts.NumColors < 1 || 256 < opts.NumColors {
430 opts.NumColors = 256
437 if !ok || len(pm.Palette) > opts.NumColors {
439 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
441 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
/dports/devel/riscv64-gcc/gcc-8.3.0/libgo/go/image/gif/
H A Dwriter.go359 NumColors int member
432 if opts.NumColors < 1 || 256 < opts.NumColors {
433 opts.NumColors = 256
440 if !ok || len(pm.Palette) > opts.NumColors {
442 pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
444 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)

1234567891011