Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
svg_line.hpp File Reference

A View that renders an inline SVG <line> element. More...

Go to the source code of this file.

Classes

class  pulp::view::SvgLineWidget
 Renders an inline SVG <line x1 y1 x2 y2 stroke stroke-width />. More...

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Detailed Description

A View that renders an inline SVG <line> element.

Targets HTML patterns of the form <svg><line x1="0" y1="10" x2="100" y2="10" stroke="#000" stroke-width="1" /></svg> — common for separators, chart axes, and threshold markers in React/HTML bundles.

Mirrors the SvgPathWidget / SvgRectWidget API (pulp #965 / #1291 / #1416): the same fill / stroke / stroke-width plumbing across all SVG-primitive intrinsics.