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

Maps a contiguous span of parsed CSS text back to the SVG document source. More...

#include "donner/svg/components/StylesheetComponent.h"

Collaboration diagram for donner::svg::components::StylesheetSourceMapSegment:
[legend]

Public Member Functions

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

Public Attributes

std::size_t cssStartOffset = 0
 First local CSS byte covered by this segment.
std::size_t cssEndOffset = 0
 First local CSS byte after this segment.
FileOffset documentStartOffset
 Document source offset for cssStartOffset.

Detailed Description

Maps a contiguous span of parsed CSS text back to the SVG document source.

Member Data Documentation

◆ documentStartOffset

FileOffset donner::svg::components::StylesheetSourceMapSegment::documentStartOffset
Initial value:
{
static FileOffset Offset(size_t offset)
Create a FileOffset for a single-line string.
Definition FileOffset.h:36

Document source offset for cssStartOffset.


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