/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/bgratutorial3d/ |
H A D | ubgrasamples.pas | 23 GradientFill(0,0,Width,Height,BGRA(203,19,23,255),BGRA(110,3,20,255), 32 DrawHorizLine(0,0,Width,BGRA(30,30,30,255)); 33 DrawHorizLine(0,Height-1,Width,BGRA(62,62,62,255)); 34 Rectangle(0,1,Width,Height-1,BGRA(91,91,91,255),BGRA(76,76,76,255),dmSet); 43 BGRA(245,250,255,255),BGRA(230,240,250,255), 44 BGRA(220,230,244,255),BGRA(221,233,247,255), 51 SetVertLine(Width-1,0,Height-1,BGRA(160,175,195,255)); 61 SetVertLine(0,0,Height,BGRA(160,175,195,255)); 62 SetVertLine(1,0,Height,BGRA(205,218,234,255)); 66 SetHorizLine(0,0,Width-1,BGRA(160,175,195,255)); [all …]
|
H A D | utexture.pas | 49 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 50 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation); 76 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 77 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation); 96 p^ := Interp256( BGRA(0,128,0), BGRA(192,255,0), p^.red ); 119 phong.LightColor := BGRA(105,233,240); 123 phong.Draw(result,map,20,-blurSize,-blurSize,BGRA(28,139,166));
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/bgratutorial3d/ |
H A D | ubgrasamples.pas | 23 GradientFill(0,0,Width,Height,BGRA(203,19,23,255),BGRA(110,3,20,255), 32 DrawHorizLine(0,0,Width,BGRA(30,30,30,255)); 33 DrawHorizLine(0,Height-1,Width,BGRA(62,62,62,255)); 34 Rectangle(0,1,Width,Height-1,BGRA(91,91,91,255),BGRA(76,76,76,255),dmSet); 43 BGRA(245,250,255,255),BGRA(230,240,250,255), 44 BGRA(220,230,244,255),BGRA(221,233,247,255), 51 SetVertLine(Width-1,0,Height-1,BGRA(160,175,195,255)); 61 SetVertLine(0,0,Height,BGRA(160,175,195,255)); 62 SetVertLine(1,0,Height,BGRA(205,218,234,255)); 66 SetHorizLine(0,0,Width-1,BGRA(160,175,195,255)); [all …]
|
H A D | utexture.pas | 49 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 50 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation); 76 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 77 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation); 96 p^ := Interp256( BGRA(0,128,0), BGRA(192,255,0), p^.red ); 119 phong.LightColor := BGRA(105,233,240); 123 phong.Draw(result,map,20,-blurSize,-blurSize,BGRA(28,139,166));
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/ |
H A D | uunittest.pas | 27 Test(StrToBGRA('rgb(255,0,0,0.502)')=BGRA(255,0,0,128),'rgba format'); 30 …Test(PartialStrToBGRA('rgb(255,?,?,?)',BGRA(128,128,128,128),error)=BGRA(255,128,128,128),'missing… 32 …Test(PartialStrToBGRA('rgb(255,?,?)',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'implicit … 34 …Test(PartialStrToBGRA('rgb(255,abc,0)',BGRA(128,128,128,128),error)=BGRA(255,0,0,255),'error repla… 36 …Test(PartialStrToBGRA('#ff????',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'missing values… 38 …Test(PartialStrToBGRA('#f??',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'missing values re… 40 …Test(PartialStrToBGRA('#12??3456',BGRA(128,128,128,128),error)=BGRA($12,128,$34,$56),'html color w… 43 Test(BGRAToStr(BGRA(255,0,0), VGAColors)='Red','VGA color names'); 44 Test(BGRAToStr(BGRA(255,255,0), CSSColors)='Yellow','CSS color names'); 45 Test(BGRAToStr(BGRA(250,128,114), CSSColors)='Salmon','CSS color names');
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/ |
H A D | uunittest.pas | 27 Test(StrToBGRA('rgb(255,0,0,0.502)')=BGRA(255,0,0,128),'rgba format'); 30 …Test(PartialStrToBGRA('rgb(255,?,?,?)',BGRA(128,128,128,128),error)=BGRA(255,128,128,128),'missing… 32 …Test(PartialStrToBGRA('rgb(255,?,?)',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'implicit … 34 …Test(PartialStrToBGRA('rgb(255,abc,0)',BGRA(128,128,128,128),error)=BGRA(255,0,0,255),'error repla… 36 …Test(PartialStrToBGRA('#ff????',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'missing values… 38 …Test(PartialStrToBGRA('#f??',BGRA(128,128,128,128),error)=BGRA(255,128,128,255),'missing values re… 40 …Test(PartialStrToBGRA('#12??3456',BGRA(128,128,128,128),error)=BGRA($12,128,$34,$56),'html color w… 43 Test(BGRAToStr(BGRA(255,0,0), VGAColors)='Red','VGA color names'); 44 Test(BGRAToStr(BGRA(255,255,0), CSSColors)='Yellow','CSS color names'); 45 Test(BGRAToStr(BGRA(250,128,114), CSSColors)='Salmon','CSS color names');
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgracontrols/test/test_bgracustomdrawn/ |
H A D | umain.pas | 73 Bitmap.Rectangle(0, 0, Bitmap.Width, Bitmap.Height, BGRA(83, 83, 83), 74 BGRA(83, 83, 83), dmSet); 94 BGRA(61, 61, 61), dmSet); 96 BGRA(61, 61, 61), dmSet); 105 BGRA(109, 109, 109), gtLinear, PointF(0, 0), 108 BGRA(48, 48, 48), dmSet); 114 Bitmap.Fill(BGRA(83, 83, 83)); 121 BGRA(71, 71, 71), dmSet); 135 1, Sender.Caption, BGRA(47, 47, 47)); 137 Sender.Caption, BGRA(229, 229, 229)); [all …]
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgracontrols/ |
H A D | bgracustomdrawn.pas | 347 Color := BGRA(102, 163, 226); 508 BGRA(71, 71, 71), dmSet); 550 BGRA(71, 71, 71), dmSet); 720 Bitmap.Rectangle(0, 0, ASize.cx, ASize.cy, BGRA(40, 40, 40), BGRA(83, 83, 83), dmSet); 809 BGRA(0, 0, 0, 32)); 819 1, BGRA(40, 40, 40)); 848 2, BGRA(55, 55, 55), 878 BGRA(71, 71, 71), dmSet); 960 bColor := BGRA(71, 71, 71); 966 lCircleMid - 1, BGRA(48, 48, 48), 1, BGRA(229, 229, 229)) [all …]
|
H A D | dtanalogclock.pas | 157 …img.FillEllipseLinearColorAntialias(Xo, Yo, r * 0.88, r * 0.88, BGRA(0, 58, 81), BGRA(2, 94, 131)); 163 …img.FillEllipseLinearColorAntialias(Xo, Yo, r * 0.88, r * 0.88, BGRA(0, 58, 81), BGRA(2, 94, 131)); 172 … img.EllipseAntialias(x, y, (r * 0.02), (r * 0.02), BGRA(255, 255, 255, 200), 2, BGRA(2, 94, 131)); 180 FClockFace.Fill(BGRA(0, 0, 0, 0)); 229 img.DrawLineAntialias(xo, yo, xs, ys, BGRA(255, 0, 0), r * 0.02); 230 img.DrawLineAntialias(xo, yo, xm, ym, BGRA(245, 245, 245), r * 0.03); 231 img.DrawLineAntialias(xo, yo, xh, yh, BGRA(245, 245, 245), r * 0.07); 232 img.DrawLineAntialias(xo, yo, xh, yh, BGRA(2, 94, 131), r * 0.04); 235 …img.EllipseAntialias(Xo, Yo, r * 0.04, r * 0.04, BGRA(245, 245, 245, 255), r * 0.02, BGRA(210, 210… 238 FMovingParts.Fill(BGRA(0, 0, 0, 0)); [all …]
|
H A D | bctoolbar.pas | 87 Bitmap.HorizLine(ARect.Left, ARect.Top, ARect.Right-1, SetHue(BGRA(169, 191, 214), g_hue), dmSet); 88 …Bitmap.HorizLine(ARect.Left, ARect.Top + 1, ARect.Right-1, SetHue(BGRA(250, 252, 253), g_hue), dmS… 89 …Bitmap.HorizLine(ARect.Left, ARect.Top + 2, ARect.Right-1, SetHue(BGRA(253, 254, 255), g_hue), dmS… 91 c1 := SetHue(BGRA(252, 254, 255), g_hue); 92 c2 := SetHue(BGRA(243, 248, 253), g_hue); 93 c3 := SetHue(BGRA(238, 243, 250), g_hue); 94 c4 := SetHue(BGRA(238, 244, 251), g_hue); 99 c1 := SetHue(BGRA(249, 252, 255), g_hue); 100 c2 := SetHue(BGRA(230, 240, 250), g_hue); 101 c3 := SetHue(BGRA(220, 230, 244), g_hue); [all …]
|
H A D | bcsamples.pas | 1050 GradientFill(0, 0, Width, Height, BGRA(203, 19, 23, 255), BGRA(110, 3, 20, 255), 1063 BGRA(76, 76, 76, 255), dmSet); 1074 BGRA(245, 249, 255, 255), BGRA(222, 232, 245, 255), BGRA(220, 230, 245, 255), 1078 BGRA(245, 250, 255, 255), BGRA(230, 240, 250, 255), BGRA(220, 230, 244, 255), 1225 BGRA(238, 245, 248, 255), BGRA(196, 204, 208, 255), gtLinear, 1242 BGRA(172, 185, 201), BGRA(134, 153, 178, 255), 1243 BGRA(125, 147, 175, 255), BGRA(110, 132, 162, 255), 1264 BGRA(172, 185, 201), BGRA(134, 153, 178, 255), 1265 BGRA(125, 147, 175, 255), BGRA(110, 132, 162, 255), 1288 SetPixel(7, 0, BGRA(203, 210, 217)); [all …]
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/bgraaggtest/ |
H A D | gouraud_main.pas | 47 bmp.EllipseAntialias(x,y,4,4,BGRA(0,0,0,192),1); 48 bmp.EllipseAntialias(x,y,3,3,BGRA(255,255,255,192),1); 49 bmp.EllipseAntialias(x,y,2,2,BGRA(0,0,0,192),1); 70 BGRA(0,0,255,opacity),BGRA(255,255,255,opacity),BGRA(255,0,0,opacity),BGRA(0,0,0,opacity)); 72 BGRA(0,0,255,opacity),BGRA(255,255,255,opacity),BGRA(0,255,0,opacity),BGRA(0,0,0,opacity)); 74 BGRA(255,0,0,opacity),BGRA(255,255,255,opacity),BGRA(0,255,0,opacity),BGRA(0,0,0,opacity));
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/bgraaggtest/ |
H A D | gouraud_main.pas | 47 bmp.EllipseAntialias(x,y,4,4,BGRA(0,0,0,192),1); 48 bmp.EllipseAntialias(x,y,3,3,BGRA(255,255,255,192),1); 49 bmp.EllipseAntialias(x,y,2,2,BGRA(0,0,0,192),1); 70 BGRA(0,0,255,opacity),BGRA(255,255,255,opacity),BGRA(255,0,0,opacity),BGRA(0,0,0,opacity)); 72 BGRA(0,0,255,opacity),BGRA(255,255,255,opacity),BGRA(0,255,0,opacity),BGRA(0,0,0,opacity)); 74 BGRA(255,0,0,opacity),BGRA(255,255,255,opacity),BGRA(0,255,0,opacity),BGRA(0,0,0,opacity));
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgracontrols/test/test_bgramacos/ |
H A D | bgramacosdraw.pas | 62 GradientButton(BGRA(210, 210, 210), BGRA(180, 180, 180), BGRAWhite, 68 GradientButton(BGRA(83, 160, 246), BGRA(43, 93, 251), BGRA(111, 177, 248), 69 BGRA(45, 127, 252), ADest, ARect); 74 GradientButton(BGRA(55, 124, 251), BGRA(36, 60, 218), BGRA(84, 149, 250), 75 BGRA(39, 102, 225), ADest, ARect);
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgracontrols/test/test_bcxbutton/ |
H A D | utest.pas | 55 gbsNormal: Bitmap.Fill(BGRA(255, 0, 0, 100)); 56 gbsHover: Bitmap.Fill(BGRA(0, 255, 0, 100)); 57 gbsActive: Bitmap.Fill(BGRA(0, 0, 255, 100)); 58 gbsDisabled: Bitmap.Fill(BGRA(0, 0, 0, 100)); 84 Bitmap.Rectangle(r, BGRA(0, 0, 0, 100), BGRA(255, 255, 255, 10), 87 Bitmap.Rectangle(r, BGRA(255, 255, 255, 100), BGRAPixelTransparent, 92 Bitmap.Rectangle(r, BGRA(0, 0, 0, 100), BGRA(255, 255, 255, 50), 95 Bitmap.Rectangle(r, BGRA(255, 255, 255, 100), BGRAPixelTransparent, 100 Bitmap.Rectangle(r, BGRA(0, 0, 0, 100), BGRA(100, 100, 100, 50), 103 Bitmap.Rectangle(r, BGRA(255, 255, 255, 50), BGRAPixelTransparent, [all …]
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/testbgrafunc/ |
H A D | utexture.pas | 41 p^ := Interp256( BGRA(0,128,0), BGRA(192,255,0), p^.red ); 57 p^ := Interp256(BGRA(161,117,105),BGRA(218,197,180),colorOscillation); 74 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 75 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation);
|
H A D | utest26.pas | 61 …en.FillQuadLinearColor(pts[3],pts[4],pts[5],pts[6],BGRA(0,192,0),BGRA(0,128,255),BGRA(255,128,0),B… 62 …reen.FillTriangleLinearColorAntialias(pts[0],pts[1],pts[2],BGRA(255,0,0),BGRA(255,255,0),BGRA(255,…
|
H A D | ucube3d.pas | 34 cube.AddFace([v[0],v[1],v[2],v[3]],BGRA(255,0,0)); 35 cube.AddFace([v[4],v[5],v[1],v[0]],BGRA(128,160,255)); 36 cube.AddFace([v[7],v[6],v[5],v[4]],BGRA(96,224,0)); 37 cube.AddFace([v[3],v[2],v[6],v[7]],BGRA(192,0,255)); 38 cube.AddFace([v[1],v[5],v[6],v[2]],BGRA(255,192,0));
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/testbgrafunc/ |
H A D | utexture.pas | 41 p^ := Interp256( BGRA(0,128,0), BGRA(192,255,0), p^.red ); 57 p^ := Interp256(BGRA(161,117,105),BGRA(218,197,180),colorOscillation); 74 p^:= Interp256( Interp256(BGRA(247,188,120),BGRA(255,218,170),colorOscillation), 75 … Interp256(BGRA(157,97,60),BGRA(202,145,112),colorOscillation), globalColorVariation);
|
H A D | utest26.pas | 61 …en.FillQuadLinearColor(pts[3],pts[4],pts[5],pts[6],BGRA(0,192,0),BGRA(0,128,255),BGRA(255,128,0),B… 62 …reen.FillTriangleLinearColorAntialias(pts[0],pts[1],pts[2],BGRA(255,0,0),BGRA(255,255,0),BGRA(255,…
|
H A D | ucube3d.pas | 34 cube.AddFace([v[0],v[1],v[2],v[3]],BGRA(255,0,0)); 35 cube.AddFace([v[4],v[5],v[1],v[0]],BGRA(128,160,255)); 36 cube.AddFace([v[7],v[6],v[5],v[4]],BGRA(96,224,0)); 37 cube.AddFace([v[3],v[2],v[6],v[7]],BGRA(192,0,255)); 38 cube.AddFace([v[1],v[5],v[6],v[2]],BGRA(255,192,0));
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/rgb-0.8.16/src/internal/convert/ |
H A D | mod.rs | 5 use crate::alt::BGRA; 59 as_pixels_impl!{BGRA, 3} 79 fn as_bgra(&self) -> &[BGRA<T>]; in as_bgra() 83 fn as_bgra_mut(&mut self) -> &mut [BGRA<T>]; in as_bgra_mut() 118 fn as_bgra(&self) -> &[BGRA<T>] { in as_bgra() 119 debug_assert_eq!(4, mem::size_of::<BGRA<T>>() / mem::size_of::<T>()); in as_bgra() 130 fn as_bgra_mut(&mut self) -> &mut [BGRA<T>] { in as_bgra_mut() 131 debug_assert_eq!(4, mem::size_of::<BGRA<T>>() / mem::size_of::<T>()); in as_bgra_mut() 209 impl<T> From<RGBA<T>> for BGRA<T> { implementation 230 impl<T> From<BGRA<T>> for RGBA<T> { [all …]
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/rgb-0.8.20/src/internal/convert/ |
H A D | mod.rs | 56 as_pixels_impl!{BGRA, 4} 80 fn as_bgra(&self) -> &[BGRA<T>]; in as_bgra() 84 fn as_bgra_mut(&mut self) -> &mut [BGRA<T>]; in as_bgra_mut() 119 fn as_bgra(&self) -> &[BGRA<T>] { in as_bgra() 120 debug_assert_eq!(4, mem::size_of::<BGRA<T>>() / mem::size_of::<T>()); in as_bgra() 131 fn as_bgra_mut(&mut self) -> &mut [BGRA<T>] { in as_bgra_mut() 132 debug_assert_eq!(4, mem::size_of::<BGRA<T>>() / mem::size_of::<T>()); in as_bgra_mut() 210 impl<T> From<RGBA<T>> for BGRA<T> { implementation 231 impl<T> From<BGRA<T>> for RGBA<T> { 232 fn from(other: BGRA<T>) -> Self { in from() [all …]
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/rgb/src/internal/ |
H A D | rgba.rs | 25 impl<T> BGRA<T> { implementation 35 impl<T, A> BGRA<T,A> { implementation 270 impl<T, A> BGRA<T, A> { implementation 316 impl<T: Clone, A> BGRA<T, A> { impl 328 impl_rgba! {BGRA} 334 impl_alpha_conv! {BGR, BGRA} 335 impl_alpha_conv! {RGB, BGRA} 407 let neg = BGRA::new(1, 2, 3i32, 1000).map(|x| -x); in bgra_test() 422 assert!(neg < BGRA::new(0, 0, 0, 0)); in bgra_test() 431 let mut px = BGRA{r:1,g:2,b:3,a:-9}.alpha(4); in bgra_test() [all …]
|
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/rgb-0.8.31/src/internal/ |
H A D | rgba.rs | 25 impl<T> BGRA<T> { impl 35 impl<T, A> BGRA<T,A> { impl 270 impl<T, A> BGRA<T, A> { impl 316 impl<T: Clone, A> BGRA<T, A> { implementation 328 impl_rgba! {BGRA} 334 impl_alpha_conv! {BGR, BGRA} 335 impl_alpha_conv! {RGB, BGRA} 407 let neg = BGRA::new(1, 2, 3i32, 1000).map(|x| -x); in bgra_test() 422 assert!(neg < BGRA::new(0, 0, 0, 0)); in bgra_test() 431 let mut px = BGRA{r:1,g:2,b:3,a:-9}.alpha(4); in bgra_test() [all …]
|