Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::FilterInputBuffer Struct Reference

Filter input raster layout around a viewport: the viewport plus input margins on each side. More...

#include "donner/svg/renderer/FilterRegionContext.h"

Public Member Functions

bool exceedsViewport (int viewportWidth, int viewportHeight) const
 Whether the raster extends past the viewport on any side.

Public Attributes

int width = 0
 Raster width in pixels.
int height = 0
 Raster height in pixels.
int offsetX = 0
 Raster pixels left of the viewport.
int offsetY = 0
 Raster pixels above the viewport.

Detailed Description

Filter input raster layout around a viewport: the viewport plus input margins on each side.


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