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

Backend-neutral geometry for one presented composited tile. More...

#include "donner/editor/PresentedFrameComposer.h"

Collaboration diagram for donner::editor::PresentedFrameTileGeometry:
[legend]

Public Attributes

Vector2d canvasOffsetDoc = Vector2d::Zero()
 Tile origin in canvas/document coordinates.
Vector2d bitmapDimsDoc = Vector2d::Zero()
 Tile size in document units.
Vector2d dragTranslationDoc = Vector2d::Zero()
 Cached drag translation captured with the tile.
Transform2d documentFromCachedDocument = Transform2d()
 Cached affine transform from the tile's rasterized document placement to its presented document placement.
bool isDragTarget = false
 Whether this tile represents the current drag target.

Detailed Description

Backend-neutral geometry for one presented composited tile.

Member Data Documentation

◆ bitmapDimsDoc

Vector2d donner::editor::PresentedFrameTileGeometry::bitmapDimsDoc = Vector2d::Zero()

Tile size in document units.

◆ canvasOffsetDoc

Vector2d donner::editor::PresentedFrameTileGeometry::canvasOffsetDoc = Vector2d::Zero()

Tile origin in canvas/document coordinates.

◆ documentFromCachedDocument

Transform2d donner::editor::PresentedFrameTileGeometry::documentFromCachedDocument = Transform2d()

Cached affine transform from the tile's rasterized document placement to its presented document placement.

◆ dragTranslationDoc

Vector2d donner::editor::PresentedFrameTileGeometry::dragTranslationDoc = Vector2d::Zero()

Cached drag translation captured with the tile.

◆ isDragTarget

bool donner::editor::PresentedFrameTileGeometry::isDragTarget = false

Whether this tile represents the current drag target.


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