Blender V5.3
blender::ed::greasepencil::tests::SVGMapping Class Reference

Public Member Functions

float SX (const float x) const
float SY (const float y) const
 SVGMapping (const Bounds< float2 > &bounds)

Public Attributes

float2 topleft
float scale
float view_width
float view_height

Detailed Description

Definition at line 114 of file grease_pencil_boolean_test.cc.

Constructor & Destructor Documentation

◆ SVGMapping()

blender::ed::greasepencil::tests::SVGMapping::SVGMapping ( const Bounds< float2 > & bounds)
inline

Member Function Documentation

◆ SX()

float blender::ed::greasepencil::tests::SVGMapping::SX ( const float x) const
inline

Definition at line 121 of file grease_pencil_boolean_test.cc.

References scale, topleft, and blender::x.

Referenced by blender::ed::greasepencil::tests::SVG_add_path().

◆ SY()

float blender::ed::greasepencil::tests::SVGMapping::SY ( const float y) const
inline

Definition at line 126 of file grease_pencil_boolean_test.cc.

References scale, topleft, and y.

Referenced by blender::ed::greasepencil::tests::SVG_add_path().

Member Data Documentation

◆ scale

float blender::ed::greasepencil::tests::SVGMapping::scale

Definition at line 117 of file grease_pencil_boolean_test.cc.

Referenced by SVGMapping(), SX(), and SY().

◆ topleft

float2 blender::ed::greasepencil::tests::SVGMapping::topleft

Definition at line 116 of file grease_pencil_boolean_test.cc.

Referenced by SVGMapping(), SX(), and SY().

◆ view_height

float blender::ed::greasepencil::tests::SVGMapping::view_height

◆ view_width

float blender::ed::greasepencil::tests::SVGMapping::view_width

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