libmypaint
1.6.0
|
Contains the basis for symmetry calculations. More...
#include <mypaint-symmetry.h>
Data Fields | |
MyPaintSymmetryType | type |
The type of symmetry to use. More... | |
float | center_x |
The x coordinate of the symmetry center. More... | |
float | center_y |
The y coordinate of the symmetry center. More... | |
float | angle |
The angle of the symmetry, in radians. More... | |
float | num_lines |
The number of symmetry lines to use, only relevant when type is one of MYPAINT_SYMMETRY_TYPE_ROTATIONAL or MYPAINT_SYMMETRY_TYPE_SNOWFLAKE. More... | |
Contains the basis for symmetry calculations.
The data in this structure is used to calculate the matrices that are used for the actual symmetry calculations, and to determine when those matrices need to be recalculated.
float MyPaintSymmetryState::angle |
The angle of the symmetry, in radians.
float MyPaintSymmetryState::center_x |
The x coordinate of the symmetry center.
float MyPaintSymmetryState::center_y |
The y coordinate of the symmetry center.
float MyPaintSymmetryState::num_lines |
The number of symmetry lines to use, only relevant when type is one of MYPAINT_SYMMETRY_TYPE_ROTATIONAL or MYPAINT_SYMMETRY_TYPE_SNOWFLAKE.
MyPaintSymmetryType MyPaintSymmetryState::type |
The type of symmetry to use.