Make cursors and select tools visible without special blend modes

This commit is contained in:
Yousef Khadadeh 2026-04-15 20:58:25 +03:00
parent bd4d662dd9
commit c85fb11636
8 changed files with 39 additions and 48 deletions

View file

@ -89,7 +89,7 @@ class DrawingProgram {
float drag_point_radius();
void draw_drag_circle(SkCanvas* canvas, const Vector2f& pos, const SkColor4f& c, const DrawData& drawData, float radiusMultiplier = 1.0f);
SkPaint select_tool_line_paint(const DrawData& drawData);
std::pair<SkPaint, SkPaint> select_tool_line_paint(const DrawData& drawData);
bool is_actual_selection_tool(DrawingProgramToolType typeToCheck);
bool is_selection_allowing_tool(DrawingProgramToolType typeToCheck);