Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::SVGStyleRuleAtSourceOffset Struct Reference

Stylesheet rule found at a document source offset. More...

#include "donner/svg/SVGStyleQuery.h"

Collaboration diagram for donner::svg::SVGStyleRuleAtSourceOffset:
[legend]

Public Member Functions

bool operator== (const SVGStyleRuleAtSourceOffset &other) const =default
 Equality operator.

Public Attributes

Entity stylesheetEntity = entt::null
 Entity carrying the stylesheet.
std::size_t ruleIndex = 0
 Index of the source rule.
std::optional< std::size_t > selectorEntryIndex
 Selector-list entry containing the offset.
SourceRange ruleSourceRange
 Rule range in SVG source.
SourceRange selectorSourceRange
 Selector range in SVG source.

Detailed Description

Stylesheet rule found at a document source offset.

Member Data Documentation

◆ ruleSourceRange

SourceRange donner::svg::SVGStyleRuleAtSourceOffset::ruleSourceRange
Initial value:
static FileOffset Offset(size_t offset)
Create a FileOffset for a single-line string.
Definition FileOffset.h:36

Rule range in SVG source.

◆ selectorSourceRange

SourceRange donner::svg::SVGStyleRuleAtSourceOffset::selectorSourceRange
Initial value:

Selector range in SVG source.


The documentation for this struct was generated from the following file: