implemented H and V GradientShaders
This commit is contained in:
+3
-2
@@ -38,9 +38,10 @@ int main(void) {
|
||||
|
||||
UwU::Surface surface = UwU::Surface(w, h, onKey);
|
||||
|
||||
UwU::ColorShader fuchsia = UwU::ColorShader(UwU::Color(0xb00b69ff));
|
||||
// UwU::ColorShader fuchsia = UwU::ColorShader(UwU::Color(0xb00b69ff));
|
||||
UwU::VGradientShader bisexual = UwU::VGradientShader(69, 420, UwU::Color(0xff0000ff), UwU::Color(0x0000ffff));
|
||||
UwU::Rectangle rectangle = UwU::Rectangle(69, 69, 420, 420);
|
||||
rectangle.draw(surface.buffer, fuchsia);
|
||||
rectangle.draw(surface.buffer, bisexual);
|
||||
|
||||
UwU::ColorShader green = UwU::ColorShader(UwU::Color(0x00ff00ff));
|
||||
UwU::Point point = UwU::Point(187, 37);
|
||||
|
||||
Reference in New Issue
Block a user