Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::NearestTexelRows Struct Reference

Affine rows that map a target pixel position (x, y) to source texel coordinates: texelX = x * texelX[0] + (y * texelX[1] + texelX[2]), and likewise for texelY. More...

#include "donner/svg/renderer/geode/GeodeNearestSampling.h"

Public Attributes

std::array< float, 3 > texelX {}
 x, y and constant terms of the texel x coordinate.
std::array< float, 3 > texelY {}
 x, y and constant terms of the texel y coordinate.

Detailed Description

Affine rows that map a target pixel position (x, y) to source texel coordinates: texelX = x * texelX[0] + (y * texelX[1] + texelX[2]), and likewise for texelY.

Member Data Documentation

◆ texelX

std::array<float, 3> donner::geode::NearestTexelRows::texelX {}

x, y and constant terms of the texel x coordinate.

◆ texelY

std::array<float, 3> donner::geode::NearestTexelRows::texelY {}

x, y and constant terms of the texel y coordinate.


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