Make better dithertypes image (#11664) 3fb7ee93b6 * Update dithertypes.cpp * Create dithertypes.png * add gms * Rebase GMs * Add GMS * GMS * GMS * GMS Co-authored-by: John White <aliasbinman@gmail.com>
diff --git a/.rive_head b/.rive_head index dedb12e..0e900b2 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -1de6e822b1c61e7d60263c8091a9fc6b07a3295b +3fb7ee93b669bbd97b22ff4bb690c22ebd1797be
diff --git a/tests/gm/dithertypes.cpp b/tests/gm/dithertypes.cpp index c715f2d..0fed56b 100644 --- a/tests/gm/dithertypes.cpp +++ b/tests/gm/dithertypes.cpp
@@ -17,7 +17,7 @@ using namespace rivegm; // Validate all our dither types by rendering feathered strokes and fills -DEF_SIMPLE_GM_WITH_CLEAR_COLOR(dithertypes, 0x80000000, 1600, 800, renderer) +DEF_SIMPLE_GM_WITH_CLEAR_COLOR(dithertypes, 0xff000000, 1600, 800, renderer) { gpu::RenderContext* renderContext = TestingWindow::Get()->renderContext(); gpu::RenderContext::FrameDescriptor frameDescriptor; @@ -28,8 +28,8 @@ } Paint textPaint; - textPaint->color((0xff << 24) | (211 << 16) | (251 << 8) | 229); - textPaint->feather(1800); + textPaint->color(0xffffffff); + textPaint->feather(1400); rive::RawText text(TestingWindow::Get()->factory()); text.maxWidth(500); @@ -37,7 +37,7 @@ text.append("@", ref_rcp(textPaint.get()), HBFont::Decode(assets::roboto_flex_ttf()), - 2600.0f); + 1600.0f); for (int i = 0; i < 2; ++i) {