/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/image/gif/ |
H A D | writer.go | 158 if p, ok := e.g.Config.ColorModel.(color.Palette); ok && len(p) > 0 { 199 func encodeColorTable(dst []byte, p color.Palette, size int) (int, error) { argument 246 if len(pm.Palette) == 0 { 262 for i, c := range pm.Palette { 304 paddedSize := log2(len(pm.Palette)) // Size of Local Color Table: 2^(1+n). 305 …if gp, ok := e.g.Config.ColorModel.(color.Palette); ok && len(pm.Palette) <= len(gp) && &gp[0] == … 308 ct, err := encodeColorTable(e.localColorTable[:], pm.Palette, paddedSize) 393 if _, ok := e.g.Config.ColorModel.(color.Palette); !ok { 437 if !ok || len(pm.Palette) > opts.NumColors { 441 pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m) [all …]
|
/dports/audio/musescore/MuseScore-3.6.1/mscore/ |
H A D | palette.h | 33 class Palette; variable 42 Palette* palette; 46 PaletteProperties(Palette* p, QWidget* parent = 0); 63 PaletteScrollArea(Palette* w, QWidget* parent = 0); 72 class Palette : public QWidget { 132 Palette(QWidget* parent = 0); 133 Palette(std::unique_ptr<PalettePanel>, QWidget* parent = nullptr); 134 virtual ~Palette();
|
H A D | textpalette.h | 28 class Palette; variable 39 Palette* pCommon; 40 Palette* pSmufl; 41 Palette* pUnicode;
|
/dports/lang/php73/php-7.3.33/ext/gd/tests/ |
H A D | imagecrop_auto-ext.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
H A D | imagecrop_auto.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
/dports/finance/cointop/cointop-1.5.4/vendor/github.com/maruel/panicparse/panicparse-f20d4c4d746f/internal/ |
H A D | ui.go | 17 type Palette struct { struct 62 func (p *Palette) functionColor(line *stack.Call) string { argument 77 func (p *Palette) routineColor(bucket *stack.Bucket, multipleBuckets bool) string { argument 85 func (p *Palette) BucketHeader(bucket *stack.Bucket, fullPath, multipleBuckets bool) string { argument 104 func (p *Palette) callLine(line *stack.Call, srcLen, pkgLen int, fullPath bool) string { argument 121 func (p *Palette) StackLines(signature *stack.Signature, srcLen, pkgLen int, fullPath bool) string { argument
|
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/ |
H A D | AbortMissionState.cpp | 91 _window->setColor(Palette::blockOffset(0)-1); in AbortMissionState() 95 _txtInExit->setColor(Palette::blockOffset(0)-1); in AbortMissionState() 100 _txtOutsideExit->setColor(Palette::blockOffset(0)-1); in AbortMissionState() 109 _txtAbort->setColor(Palette::blockOffset(0)-1); in AbortMissionState() 115 _btnOk->setColor(Palette::blockOffset(0)-1); in AbortMissionState() 121 _btnCancel->setColor(Palette::blockOffset(0)-1); in AbortMissionState()
|
/dports/www/mod_php73/php-7.3.33/ext/gd/tests/ |
H A D | imagecrop_auto.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
H A D | imagecrop_auto-ext.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
/dports/graphics/php73-gd/php-7.3.33/ext/gd/tests/ |
H A D | imagecrop_auto-ext.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
H A D | imagecrop_auto.phpt | 18 echo "Palette IMG_CROP_DEFAULT\n"; 32 echo "Palette IMG_CROP_SIDES\n"; 46 echo "Palette IMG_CROP_BLACK\n"; 68 Palette IMG_CROP_DEFAULT 74 Palette IMG_CROP_SIDES 80 Palette IMG_CROP_BLACK
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/src/jni/ |
H A D | Palette.hxx | 56 class GIWSEXPORT Palette { class 93 Palette(JavaVM * jvm_); 101 Palette(JavaVM * jvm_, jobject JObj); 109 Palette(fakeGiwsDataType::fakeGiwsDataType /* unused */) {} in Palette() function in org_scilab_modules_xcos_palette::Palette 113 ~Palette();
|
/dports/www/limesurvey/limesurvey/application/third_party/pchart/ |
H A D | pChart.class.php | 1895 …$this->drawLine($X1,$Y1,$X2,$Y1,$this->Palette[$ColorID]["R"],$this->Palette[$ColorID]["G"],$this-… 2063 …$this->drawLine($X1,$Y1,$X2,$Y1,$this->Palette[$MaxID]["R"],$this->Palette[$MaxID]["G"],$this->Pal… 2064 …$this->drawLine($X1,$Y2,$X2,$Y2,$this->Palette[$MinID]["R"],$this->Palette[$MinID]["G"],$this->Pal… 2253 …>drawLine($XLast,$YLast,$XPos,$YPos,$this->Palette[$ColorID]["R"],$this->Palette[$ColorID]["G"],$t… 2263 …rawLine($XPos,$YPos,$FirstX,$FirstY,$this->Palette[$ColorID]["R"],$this->Palette[$ColorID]["G"],$t… 2441 …o = $this->AllocateColor($this->Picture,$this->Palette[$Key]["R"],$this->Palette[$Key]["G"],$this-… 2509 …{ $Rc = $this->Palette[$Key]["R"]; $Gc = $this->Palette[$Key]["G"]; $Bc = $this->Palette[$Key]["B"… 2578 …o = $this->AllocateColor($this->Picture,$this->Palette[$Key]["R"],$this->Palette[$Key]["G"],$this-… 2692 …o = $this->AllocateColor($this->Picture,$this->Palette[$Key]["R"],$this->Palette[$Key]["G"],$this-… 2707 …o = $this->AllocateColor($this->Picture,$this->Palette[$Key]["R"],$this->Palette[$Key]["G"],$this-… [all …]
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/utils/ |
H A D | colorpalettes.py | 25 class Palette: class 82 class IndexedPalette(Palette): 97 *, category=None, flags=Palette.Discrete): 171 *, category=None, flags=Palette.Discrete, 205 class ContinuousPalette(Palette): 371 flags=Palette.Diverging if pass_through else Palette.NoFlags) 414 flags=palette.flags | Palette.Discrete) 529 flags=Palette.Diverging 534 flags=Palette.Diverging 539 category="Color-blind friendly", flags=Palette.ColorBlindSafe | Palette.Diverging [all …]
|
/dports/www/mattermost-server/mattermost-server-6.0.2/utils/imgutils/ |
H A D | gif.go | 103 globalColorTable color.Palette 291 j, p := 0, make(color.Palette, n) 380 m.Palette, err = d.readColorTable(d.imageFields) 388 m.Palette = d.globalColorTable 393 m.Palette = append(color.Palette(nil), d.globalColorTable...) 395 if ti := int(d.transparentIndex); ti < len(m.Palette) { 396 m.Palette[ti] = color.RGBA{} 402 p := make(color.Palette, ti+1) 403 copy(p, m.Palette) 404 for i := len(m.Palette); i < len(p); i++ { [all …]
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Render/ |
H A D | RenderSprites.cs | 38 public readonly string Palette = null; field in OpenRA.Mods.Common.Traits.Render.RenderSpritesInfo 55 var palette = init.WorldRenderer.Palette(Palette ?? PlayerPalette + ownerName); in RenderPreview() 101 public readonly string Palette; field in OpenRA.Mods.Common.Traits.Render.RenderSprites.AnimationWrapper 112 Palette = palette; in AnimationWrapper() 118 PaletteReference = wr.Palette(IsPlayerPalette ? Palette + owner.InternalName : Palette); in CachePalette() 235 palette = Info.Palette ?? Info.PlayerPalette; in Add() 236 isPlayerPalette = Info.Palette == null; in Add()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/ |
H A D | screen.cpp | 43 _palette(new Palette(GAME_PALETTE_RESOURCE_ID, RGB64)) { in Screen() 54 void Screen::setSystemPalette(Palette *p, uint16 start, uint16 num) { in setSystemPalette() 72 Palette emptyPalette(numEntries, NULL, RGB64); in setPaletteEmpty() 87 void Screen::setPalette(Palette *p) { in setPalette() 96 void Screen::setPalette(Palette *p, uint16 start, uint16 num) { in setPalette() 106 void Screen::paletteFadeIn(Palette *p) { in paletteFadeIn() 173 Palette p(GAME_PALETTE_RESOURCE_ID); in resetPalette()
|
/dports/games/scummvm/scummvm-2.5.1/engines/lure/ |
H A D | screen.cpp | 43 _palette(new Palette(GAME_PALETTE_RESOURCE_ID, RGB64)) { in Screen() 54 void Screen::setSystemPalette(Palette *p, uint16 start, uint16 num) { in setSystemPalette() 72 Palette emptyPalette(numEntries, NULL, RGB64); in setPaletteEmpty() 87 void Screen::setPalette(Palette *p) { in setPalette() 96 void Screen::setPalette(Palette *p, uint16 start, uint16 num) { in setPalette() 106 void Screen::paletteFadeIn(Palette *p) { in paletteFadeIn() 173 Palette p(GAME_PALETTE_RESOURCE_ID); in resetPalette()
|
/dports/graphics/p5-Color-Palette/Color-Palette-0.100003/t/ |
H A D | basic.t | 4 use Color::Palette; 5 use Color::Palette::Schema; 6 use Color::Palette::Types -all; 9 my $pal_schema = Color::Palette::Schema->new({ 15 my $bad_pal = Color::Palette->new({ colors => { blue => '#00f' } }); 19 my $pobox_palette = Color::Palette->new({ 42 my $listbox_palette = Color::Palette->new({
|
/dports/graphics/aseprite/aseprite-1.2.9/src/app/res/ |
H A D | palette_resource.h | 14 class Palette; variable 23 doc::Palette* palette) in PaletteResource() 31 virtual doc::Palette* palette() { return m_palette; } in palette() 36 doc::Palette* m_palette;
|
/dports/x11/eaglemode/eaglemode-0.95.0/src/emPcx/ |
H A D | emPcxImageFileModel.cpp | 64 L->Palette=NULL; in TryStartLoading() 130 L->Palette=new unsigned char[3*n]; in TryContinueLoading() 133 if (fread(L->Palette,1,3*n,L->File)!=(size_t)(3*n)) goto Err; in TryContinueLoading() 183 if (L->Palette) { in TryContinueLoading() 185 L->Palette[3*val] | in TryContinueLoading() 186 (L->Palette[3*val+1]<<8) | in TryContinueLoading() 187 (L->Palette[3*val+2]<<16) in TryContinueLoading() 212 if (L->Palette) delete [] L->Palette; in QuitLoading()
|
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/ |
H A D | CraftPatrolState.cpp | 65 _window->setColor(Palette::blockOffset(15)-1); in CraftPatrolState() 68 _btnOk->setColor(Palette::blockOffset(8)+5); in CraftPatrolState() 73 _btnRedirect->setColor(Palette::blockOffset(8)+5); in CraftPatrolState() 78 _txtDestination->setColor(Palette::blockOffset(15)-1); in CraftPatrolState() 86 _txtPatrolling->setColor(Palette::blockOffset(15)-1); in CraftPatrolState()
|
H A D | NewPossibleManufactureState.cpp | 63 _window->setColor(Palette::blockOffset(15)-1); in NewPossibleManufactureState() 66 _btnOk->setColor(Palette::blockOffset(8)+5); in NewPossibleManufactureState() 70 _btnManufacture->setColor(Palette::blockOffset(8)+5); in NewPossibleManufactureState() 74 _txtTitle->setColor(Palette::blockOffset(15)-1); in NewPossibleManufactureState() 79 _lstPossibilities->setColor(Palette::blockOffset(8)+10); in NewPossibleManufactureState()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/World/ |
H A D | PaletteFromPng.cs | 46 string IProvidesCursorPaletteInfo.Palette { get { return CursorPalette ? Name : null; } } 52 if (png.Palette == null) in IProvidesCursorPaletteInfo.ReadPalette() 55 var colors = new uint[Palette.Size]; in IProvidesCursorPaletteInfo.ReadPalette() 57 for (var i = 0; i < png.Palette.Length; i++) in IProvidesCursorPaletteInfo.ReadPalette() 58 colors[i] = (uint)png.Palette[i].ToArgb(); in IProvidesCursorPaletteInfo.ReadPalette()
|
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/ |
H A D | UfopaediaSelectState.cpp | 61 _window->setColor(Palette::blockOffset(15)-1); in UfopaediaSelectState() 64 _txtTitle->setColor(Palette::blockOffset(8)+10); in UfopaediaSelectState() 69 _btnOk->setColor(Palette::blockOffset(15)-1); in UfopaediaSelectState() 74 _lstSelection->setColor(Palette::blockOffset(8)+5); in UfopaediaSelectState() 75 _lstSelection->setArrowColor(Palette::blockOffset(15)-1); in UfopaediaSelectState()
|