/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/ |
H A D | oxygencolorutils.h | 51 Rgba backgroundTopColor( const Rgba& ); 52 Rgba backgroundBottomColor( const Rgba& ); 53 Rgba backgroundRadialColor( const Rgba& ); 54 Rgba lightColor( const Rgba& ); 55 Rgba darkColor( const Rgba& ); 56 Rgba midColor( const Rgba& ); 57 Rgba shadowColor( const Rgba& ); 60 Rgba decoColor( const Rgba& background, const Rgba& color ); 100 Rgba tint(const Rgba &base, const Rgba &color, double amount = 0.3); 103 Rgba mix(const Rgba &c1, const Rgba &c2, double bias = 0.5); [all …]
|
H A D | oxygenstylehelper.h | 38 { class Rgba; } variable 111 …const TileSet& slab( const ColorUtils::Rgba&, const ColorUtils::Rgba&, double shade = 0, int size … 118 …const Cairo::Surface& roundSlab( const ColorUtils::Rgba&, const ColorUtils::Rgba& glow, double sha… 121 …const Cairo::Surface& sliderSlab( const ColorUtils::Rgba&, const ColorUtils::Rgba& glowColor, bool… 137 …const TileSet& hole( const ColorUtils::Rgba& base, const ColorUtils::Rgba& fill, int size = 7, boo… 141 { return holeFocused( base, ColorUtils::Rgba(), ColorUtils::Rgba(), size, contrast ); } 143 …const TileSet& holeFocused( const ColorUtils::Rgba& base, const ColorUtils::Rgba &glow, int size =… 146 …const TileSet& holeFocused( const ColorUtils::Rgba&, const ColorUtils::Rgba& fill, const ColorUtil… 155 … const TileSet& scrollHandle( const ColorUtils::Rgba&, const ColorUtils::Rgba&, int size = 7 ); 161 const TileSet& dockFrame( const ColorUtils::Rgba&, const ColorUtils::Rgba& ); [all …]
|
H A D | oxygencolorutils.cpp | 134 ColorUtils::Rgba ColorUtils::backgroundTopColor(const Rgba &color) in backgroundTopColor() 140 Rgba out; in backgroundTopColor() 154 ColorUtils::Rgba ColorUtils::backgroundBottomColor(const Rgba &color) in backgroundBottomColor() 174 ColorUtils::Rgba ColorUtils::backgroundRadialColor(const Rgba &color) in backgroundRadialColor() 180 Rgba out; in backgroundRadialColor() 236 Rgba out( mix( Rgba::black(), color, color.alpha() ) ); in shadowColor() 244 …ColorUtils::Rgba ColorUtils::decoColor( const ColorUtils::Rgba& background, const ColorUtils::Rgba… in decoColor() 411 static inline Rgba tintHelper( const Rgba &base, const Rgba &color, double amount ) in tintHelper() 459 …ColorUtils::Rgba ColorUtils::tint( const ColorUtils::Rgba &base, const ColorUtils::Rgba &color, do… in tint() 469 Rgba result; in tint() [all …]
|
H A D | oxygenrgba.h | 44 class Rgba 53 Rgba( void ): in Rgba() function 107 Rgba light( int amount ) const; 111 Rgba dark( int amount ) const; 137 Rgba& setRed( double value ) in setRed() 144 Rgba& setGreen( double value ) in setGreen() 151 Rgba& setBlue( double value ) in setBlue() 158 Rgba& setAlpha( double value ) in setAlpha() 182 static Rgba black( void ) { return Rgba( 0, 0, 0, 1 ); } in black() 183 static Rgba white( void ) { return Rgba( 1, 1, 1, 1 ); } in white() [all …]
|
H A D | oxygenstylehelper.cpp | 295 const ColorUtils::Rgba& light( base ); in windecoButtonGlow() 296 const ColorUtils::Rgba& dark( base ); in windecoButtonGlow() 310 ColorUtils::Rgba c = dark; in windecoButtonGlow() 326 ColorUtils::Rgba c( light ); in windecoButtonGlow() 404 …const TileSet& StyleHelper::slab(const ColorUtils::Rgba& base, const ColorUtils::Rgba& glow, doubl… in slab() 483 …t Cairo::Surface& StyleHelper::roundSlab(const ColorUtils::Rgba& base, const ColorUtils::Rgba& glo… in roundSlab() 628 const ColorUtils::Rgba &base, const ColorUtils::Rgba &fill, const ColorUtils::Rgba &glow, in holeFocused() 885 …const TileSet& StyleHelper::scrollHandle( const ColorUtils::Rgba& base, const ColorUtils::Rgba& gl… in scrollHandle() 973 …const TileSet& StyleHelper::dockFrame( const ColorUtils::Rgba &top, const ColorUtils::Rgba& bottom… in dockFrame() 1035 …rface& StyleHelper::progressBarIndicator(const ColorUtils::Rgba& base, const ColorUtils::Rgba& hig… in progressBarIndicator() [all …]
|
H A D | oxygenpalette.h | 75 typedef std::vector<ColorUtils::Rgba> ColorList; 78 class ColorSet: public std::map<Role, ColorUtils::Rgba> 84 void insert( Role role, const ColorUtils::Rgba& color ) in insert() 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() 110 const ColorUtils::Rgba& color( Role role ) const in color() [all …]
|
/dports/x11-themes/gtk3-oxygen-engine/oxygen-gtk3-1.4.1/src/ |
H A D | oxygencolorutils.h | 51 Rgba backgroundTopColor( const Rgba& ); 52 Rgba backgroundBottomColor( const Rgba& ); 53 Rgba backgroundRadialColor( const Rgba& ); 54 Rgba lightColor( const Rgba& ); 55 Rgba darkColor( const Rgba& ); 56 Rgba midColor( const Rgba& ); 57 Rgba shadowColor( const Rgba& ); 60 Rgba decoColor( const Rgba& background, const Rgba& color ); 100 Rgba tint(const Rgba &base, const Rgba &color, double amount = 0.3); 103 Rgba mix(const Rgba &c1, const Rgba &c2, double bias = 0.5); [all …]
|
H A D | oxygenstylehelper.h | 39 { class Rgba; } variable 112 …const TileSet& slab( const ColorUtils::Rgba&, const ColorUtils::Rgba&, double shade = 0, int size … 119 …const Cairo::Surface& roundSlab( const ColorUtils::Rgba&, const ColorUtils::Rgba& glow, double sha… 122 …const Cairo::Surface& sliderSlab( const ColorUtils::Rgba&, const ColorUtils::Rgba& glowColor, bool… 138 …const TileSet& hole( const ColorUtils::Rgba& base, const ColorUtils::Rgba& fill, int size = 7, boo… 142 { return holeFocused( base, ColorUtils::Rgba(), ColorUtils::Rgba(), size, contrast ); } 144 …const TileSet& holeFocused( const ColorUtils::Rgba& base, const ColorUtils::Rgba &glow, int size =… 147 …const TileSet& holeFocused( const ColorUtils::Rgba&, const ColorUtils::Rgba& fill, const ColorUtil… 156 … const TileSet& scrollHandle( const ColorUtils::Rgba&, const ColorUtils::Rgba&, int size = 7 ); 162 const TileSet& dockFrame( const ColorUtils::Rgba&, const ColorUtils::Rgba& ); [all …]
|
H A D | oxygencolorutils.cpp | 134 ColorUtils::Rgba ColorUtils::backgroundTopColor(const Rgba &color) in backgroundTopColor() 140 Rgba out; in backgroundTopColor() 154 ColorUtils::Rgba ColorUtils::backgroundBottomColor(const Rgba &color) in backgroundBottomColor() 174 ColorUtils::Rgba ColorUtils::backgroundRadialColor(const Rgba &color) in backgroundRadialColor() 180 Rgba out; in backgroundRadialColor() 236 Rgba out( mix( Rgba::black(), color, color.alpha() ) ); in shadowColor() 244 …ColorUtils::Rgba ColorUtils::decoColor( const ColorUtils::Rgba& background, const ColorUtils::Rgba… in decoColor() 411 static inline Rgba tintHelper( const Rgba &base, const Rgba &color, double amount ) in tintHelper() 459 …ColorUtils::Rgba ColorUtils::tint( const ColorUtils::Rgba &base, const ColorUtils::Rgba &color, do… in tint() 469 Rgba result; in tint() [all …]
|
H A D | oxygenrgba.h | 44 class Rgba 53 Rgba( void ): in Rgba() function 116 Rgba light( int amount ) const; 120 Rgba dark( int amount ) const; 146 Rgba& setRed( double value ) in setRed() 153 Rgba& setGreen( double value ) in setGreen() 160 Rgba& setBlue( double value ) in setBlue() 167 Rgba& setAlpha( double value ) in setAlpha() 191 static Rgba black( void ) { return Rgba( 0, 0, 0, 1 ); } in black() 192 static Rgba white( void ) { return Rgba( 1, 1, 1, 1 ); } in white() [all …]
|
H A D | oxygenstylehelper.cpp | 296 const ColorUtils::Rgba& light( base ); in windecoButtonGlow() 297 const ColorUtils::Rgba& dark( base ); in windecoButtonGlow() 311 ColorUtils::Rgba c = dark; in windecoButtonGlow() 327 ColorUtils::Rgba c( light ); in windecoButtonGlow() 405 …const TileSet& StyleHelper::slab(const ColorUtils::Rgba& base, const ColorUtils::Rgba& glow, doubl… in slab() 484 …t Cairo::Surface& StyleHelper::roundSlab(const ColorUtils::Rgba& base, const ColorUtils::Rgba& glo… in roundSlab() 633 const ColorUtils::Rgba &base, const ColorUtils::Rgba &fill, const ColorUtils::Rgba &glow, in holeFocused() 890 …const TileSet& StyleHelper::scrollHandle( const ColorUtils::Rgba& base, const ColorUtils::Rgba& gl… in scrollHandle() 978 …const TileSet& StyleHelper::dockFrame( const ColorUtils::Rgba &top, const ColorUtils::Rgba& bottom… in dockFrame() 1040 …rface& StyleHelper::progressBarIndicator(const ColorUtils::Rgba& base, const ColorUtils::Rgba& hig… in progressBarIndicator() [all …]
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/gui/objects/ |
H A D | Color.h | 8 class Rgba { 16 Rgba() = default; 24 Rgba(const Rgba& other) in Rgba() function 30 Rgba& operator=(const Rgba& other) { 89 Rgba operator*(const Rgba& other) const { 97 Rgba operator+(const Rgba& other) const { 101 Rgba& operator+=(const Rgba& other) { 110 Rgba operator-(const Rgba& other) const { 114 Rgba& operator-=(const Rgba& other) { 133 Rgba over(const Rgba& other) const { in over() [all …]
|
H A D | RenderContext.h | 38 virtual void fill(const Rgba& color) = 0; 60 INLINE Rgba operator()(const Rgba&, const Rgba& color) const { in operator() 66 INLINE Rgba operator()(const Rgba& prev, const Rgba& color) const { in operator() 76 Bitmap<Rgba>& bitmap; 81 Rgba line = Rgba::black(); 82 Rgba fill = Rgba::black(); 83 Rgba text = Rgba::white(); 121 void drawSafe(const Pixel p, const Rgba c) { in drawSafe() 131 void draw(const Pixel p, const Rgba c) { in draw() 135 void draw(const Coords p, const Rgba c) { in draw() [all …]
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/gui/ |
H A D | Factory.cpp | 254 return Palette({ { x0, Rgba(0.f, 0.f, 0.6f) }, in getDefaultPalette() 270 return Palette({ { x0, Rgba(0.5f, 0.5f, 0.5f) }, in getPalette() 277 return Palette({ { x0, Rgba(0.5f, 0.5f, 0.5f) }, in getPalette() 296 return Palette({ { x0, Rgba(0.1f, 0.1f, 1.f) }, in getPalette() 301 return Palette({ { x0, Rgba(0.f, 0.f, 0.6f) }, in getPalette() 315 … return Palette({ { 0._f, Rgba(0.1f, 0.1f, 0.1f) }, { 1._f, Rgba(0.9f, 0.9f, 0.9f) } }, scale); in getPalette() 317 return Palette({ { x0, Rgba(0.1f, 0.1f, 1.f) }, in getPalette() 322 return Palette({ { x0, Rgba(0.1f, 0.1f, 1.f) }, in getPalette() 363 … return Palette({ { x0, Rgba(0.1f, 0.1f, 0.1f) }, { x0 + dx, Rgba(0.9f, 0.9f, 0.9f) } }, scale); in getPalette() 365 … return Palette({ { x0, Rgba(0.1f, 0.1f, 0.1f) }, { x0 + dx, Rgba(0.9f, 0.9f, 0.9f) } }, scale); in getPalette() [all …]
|
H A D | ImageTransform.cpp | 6 Rgba interpolate(const Bitmap<Rgba>& bitmap, const float x, const float y) { in interpolate() 25 Bitmap<Rgba> resize(const Bitmap<Rgba>& input, const Pixel size) { in resize() 73 const Bitmap<Rgba>& input, in filter() 80 Rgba sum = Rgba::black(); in filter() 120 Rgba color = Rgba::black(); in gaussianBlur() 129 Rgba color = Rgba::black(); in gaussianBlur() 137 Rgba color = Rgba::black(); in gaussianBlur() 156 Rgba color = Rgba::black(); in gaussianBlur() 165 Rgba color = Rgba::black(); in gaussianBlur() 173 Rgba color = Rgba::black(); in gaussianBlur() [all …]
|
H A D | ImageTransform.h | 9 Bitmap<Rgba> transform(const Bitmap<Rgba>& input, const Transform& func) { in transform() 10 Bitmap<Rgba> result(input.size()); in transform() 19 Rgba interpolate(const Bitmap<Rgba>& bitmap, const float x, const float y); 21 Bitmap<Rgba> resize(const Bitmap<Rgba>& input, const Pixel size); 23 Bitmap<float> detectEdges(const Bitmap<Rgba>& input); 25 Bitmap<Rgba> gaussianBlur(IScheduler& scheduler, const Bitmap<Rgba>& input, const int radius); 27 Bitmap<Rgba> bloomEffect(IScheduler& scheduler, 28 const Bitmap<Rgba>& input, 39 Bitmap<Rgba> denoise(IScheduler& scheduler, const Bitmap<Rgba>& input, const DenoiserParams& params… 41 Bitmap<Rgba> denoiseLowFrequency(IScheduler& scheduler, [all …]
|
/dports/graphics/freeimage/FreeImage/Source/OpenEXR/IlmImf/ |
H A D | ImfRgbaYca.h | 158 const Rgba rgbaIn[/*n*/], 159 Rgba ycaOut[/*n*/]); 174 Rgba ycaOut[/*n*/]); 184 const Rgba * const ycaIn[N], 185 Rgba ycaOut[/*n*/]); 199 Rgba ycaOut[/*n*/]); 209 Rgba ycaOut[/*n*/]); 219 Rgba ycaOut[/*n*/]); 230 const Rgba ycaIn[/*n*/], 231 Rgba rgbaOut[/*n*/]); [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/libraries/openexr/IlmImf/ |
H A D | ImfRgbaYca.h | 158 const Rgba rgbaIn[/*n*/], 159 Rgba ycaOut[/*n*/]); 174 Rgba ycaOut[/*n*/]); 184 const Rgba * const ycaIn[N], 185 Rgba ycaOut[/*n*/]); 199 Rgba ycaOut[/*n*/]); 209 Rgba ycaOut[/*n*/]); 219 Rgba ycaOut[/*n*/]); 230 const Rgba ycaIn[/*n*/], 231 Rgba rgbaOut[/*n*/]); [all …]
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/openexr/IlmImf/ |
H A D | ImfRgbaYca.h | 158 const Rgba rgbaIn[/*n*/], 159 Rgba ycaOut[/*n*/]); 174 Rgba ycaOut[/*n*/]); 184 const Rgba * const ycaIn[N], 185 Rgba ycaOut[/*n*/]); 199 Rgba ycaOut[/*n*/]); 209 Rgba ycaOut[/*n*/]); 219 Rgba ycaOut[/*n*/]); 230 const Rgba ycaIn[/*n*/], 231 Rgba rgbaOut[/*n*/]); [all …]
|
/dports/graphics/openexr/openexr-3.1.4/src/lib/OpenEXR/ |
H A D | ImfRgbaYca.h | 127 const Rgba rgbaIn[/*n*/], 128 Rgba ycaOut[/*n*/]); 143 Rgba ycaOut[/*n*/]); 153 const Rgba * const ycaIn[N], 154 Rgba ycaOut[/*n*/]); 168 Rgba ycaOut[/*n*/]); 178 Rgba ycaOut[/*n*/]); 188 Rgba ycaOut[/*n*/]); 199 const Rgba ycaIn[/*n*/], 200 Rgba rgbaOut[/*n*/]); [all …]
|
H A D | ImfRgbaFile.cpp | 203 Rgba * _bufBase; 204 Rgba * _buf[N]; 205 Rgba * _tmpBuf; 239 ptrdiff_t pad = cachePadding (_width * sizeof (Rgba)) / sizeof (Rgba); in ToYca() 359 _tmpBuf[j] = *reinterpret_cast<Rgba*>(base + sizeof(Rgba)* in writePixels() 397 const Rgba* ptr = reinterpret_cast<const Rgba*>(base+sizeof(Rgba)* in writePixels() 825 Rgba * _bufBase; 828 Rgba * _tmpBuf; 829 Rgba * _fbBase; 1063 …Rgba* ptr = reinterpret_cast<Rgba*>(base + sizeof(Rgba)*(_fbYStride * scanLine + _fbXStride * (i +… in readPixels() [all …]
|
/dports/graphics/openexr/openexr-3.1.4/src/test/OpenEXRTest/ |
H A D | testExistingStreams.cpp | 43 Rgba &p = pixels[y][x]; in fillPixels1() 61 Rgba &p = pixels[y][x]; in fillPixels2() 229 Array2D<Rgba> p2 (h, w); in writeReadScanLines() 257 Array2D<Rgba> p2 (h, w); in writeReadScanLines() 319 f.insert("R",Slice(HALF,(char *) &p1[0][0].r,sizeof(Rgba),width*sizeof(Rgba))); in writeReadMultiPart() 431 const Array2D<Rgba> &p1) in writeReadTiles() 471 Array2D<Rgba> p2 (h, w); in writeReadTiles() 499 Array2D<Rgba> p2 (h, w); in writeReadTiles() 566 Array2D<Rgba> p2 (h, w); in writeReadScanLines() 694 const Array2D<Rgba> &p1) in writeReadTiles() [all …]
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/gui/renderers/ |
H A D | FrameBuffer.h | 11 virtual void map(IScheduler& scheduler, Bitmap<Rgba>& values) const = 0; 22 virtual void map(IScheduler& scheduler, Bitmap<Rgba>& values) const override { in map() 25 Rgba& color = values[Pixel(x, y)]; in map() 56 virtual void map(IScheduler& scheduler, Bitmap<Rgba>& values) const override { in map() 59 Rgba& color = values[Pixel(x, y)]; in map() 68 Bitmap<Rgba> values; 73 values.resize(resolution, Rgba::transparent()); in FrameBuffer() 76 void accumulate(IScheduler& scheduler, const Bitmap<Rgba>& pass) { in accumulate() 88 void override(Bitmap<Rgba>&& pass) { in override() 93 const Bitmap<Rgba>& getBitmap() const& { in getBitmap() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/crossfont-0.3.1/src/ft/fc/ |
H A D | mod.rs | 186 pub enum Rgba { enum 195 impl Rgba { implementation 199 Rgba::Rgb => 1, in to_isize() 200 Rgba::Bgr => 2, in to_isize() 201 Rgba::Vrgb => 3, in to_isize() 202 Rgba::Vbgr => 4, in to_isize() 203 Rgba::None => 5, in to_isize() 208 impl fmt::Display for Rgba { implementation 221 impl From<isize> for Rgba { implementation 224 1 => Rgba::Rgb, in from() [all …]
|
/dports/graphics/openexr/openexr-3.1.4/src/test/OpenEXRFuzzTest/ |
H A D | testFuzzScanLines.cpp | 44 fillPixels (Array2D<Rgba> &pixels, int w, int h) in fillPixels() 50 Rgba &p = pixels[y][x]; in fillPixels() 65 const Array2D<Rgba> &pixels, in writeImage() 103 f.insert("R",Slice(HALF,(char *) &(pixels[0][0].r),sizeof(Rgba),width*sizeof(Rgba))); in writeImage() 104 f.insert("G",Slice(HALF,(char *) &(pixels[0][0].g),sizeof(Rgba),width*sizeof(Rgba))); in writeImage() 105 f.insert("B",Slice(HALF,(char *) &(pixels[0][0].b),sizeof(Rgba),width*sizeof(Rgba))); in writeImage() 106 f.insert("A",Slice(HALF,(char *) &(pixels[0][0].a),sizeof(Rgba),width*sizeof(Rgba))); in writeImage() 139 Array<Rgba> pixels (w); in readImage() 165 Array<Rgba> pixels (w); in readImage() 167 i.insert("R",Slice(HALF,(char *)&(pixels[-dx].r),sizeof(Rgba),0)); in readImage() [all …]
|