|
Krita Source Code Documentation
|
#include <psd_additional_layer_info_block.h>
Public Member Functions | |
| bool | canMakeParametricShape () |
| QDomDocument | getASL () |
| void | OriginalSizeAndAngle (QSizeF &size, double &angle) |
| void | setOriginBoxCorners (QPointF p) |
| void | setOriginPolySides (int sides) |
| void | setOriginPolyStarRatio (double ratio) |
| void | setOriginPolyTightBoxCorners (QPointF p) |
| void | setOriginPolyTrueRectCorners (QPointF p) |
| void | setOriginResolution (double res) |
| void | setOriginShapeBBox (QRectF ShapeBBox) |
| void | setOriginType (int type) |
| void | setTransform (QTransform t) |
| QString | shapeName () |
Static Public Member Functions | |
| static void | setupCatcher (const QString path, KisAslCallbackObjectCatcher &catcher, psd_vector_origination_data *data) |
Public Attributes | |
| bool | isStar = false |
| QPolygonF | originBoxCorners |
| post-transform bbox as a polygon, seen on 1, 7, 8 and 9. | |
| int | originIndex = 0 |
| double | originPolyPixelHSF = 1.0 |
| Only 7 and 8, no clue. | |
| QPolygonF | originPolyPreviousTightBoxCorners |
| Only 7 an 8, same as originBoxCorners. | |
| int | originPolySides = 0 |
| Only for 7 and 8. | |
| double | originPolyStarRatio = 100.0 |
| Only for 8, percentage of small radius to big radius. | |
| QPolygonF | originPolyTrueRectCorners |
| Only 7 an 8, same as originBoxCorners. | |
| double | originResolution = 72.0 |
| Resolution of the coordinates. | |
| QRectF | originShapeBBox |
| pre-transform bbox. | |
| int | originType = -1 |
| 1 = rect, 2 = rounded rect?, 3 = ? 4 = ? 5 = ellipse, 6 = ?, 7 = polygon, 8 = star, 9 = premade path shape. | |
| QTransform | transform |
| const QMap< int, QString > | typeToName |
Definition at line 1190 of file psd_additional_layer_info_block.h.
|
inline |
Definition at line 1319 of file psd_additional_layer_info_block.h.
References p, and shapeName().
|
inline |
Definition at line 1274 of file psd_additional_layer_info_block.h.
References originBoxCorners, originIndex, originPolySides, originPolyStarRatio, originResolution, originShapeBBox, originType, and transform.
|
inline |
For some reason, instead of putting the whole transformation into the transform, PSD instead creates a list points that represents the transformed bounding box. To get the original width and height and angle, one must first untransform this polygon and use it to determine the appropriate values.
Definition at line 1331 of file psd_additional_layer_info_block.h.
References originBoxCorners, originShapeBBox, and transform.
|
inline |
Definition at line 1228 of file psd_additional_layer_info_block.h.
References originBoxCorners, and p.
|
inline |
Definition at line 1238 of file psd_additional_layer_info_block.h.
References originPolySides.
|
inline |
Definition at line 1242 of file psd_additional_layer_info_block.h.
References isStar, and originPolyStarRatio.
|
inline |
Definition at line 1231 of file psd_additional_layer_info_block.h.
References originPolyPreviousTightBoxCorners, and p.
|
inline |
Definition at line 1234 of file psd_additional_layer_info_block.h.
References originPolyTrueRectCorners, and p.
|
inline |
Definition at line 1217 of file psd_additional_layer_info_block.h.
References originResolution.
|
inline |
Definition at line 1225 of file psd_additional_layer_info_block.h.
References originShapeBBox.
|
inline |
Definition at line 1213 of file psd_additional_layer_info_block.h.
References originType.
|
inline |
Definition at line 1221 of file psd_additional_layer_info_block.h.
References transform.
|
inlinestatic |
Definition at line 1247 of file psd_additional_layer_info_block.h.
References setOriginBoxCorners(), setOriginPolySides(), setOriginPolyStarRatio(), setOriginPolyTightBoxCorners(), setOriginPolyTrueRectCorners(), setOriginResolution(), setOriginShapeBBox(), setOriginType(), setTransform(), KisAslCallbackObjectCatcher::subscribeDouble(), KisAslCallbackObjectCatcher::subscribeInteger(), KisAslCallbackObjectCatcher::subscribePoint(), KisAslCallbackObjectCatcher::subscribeTransform(), KisAslCallbackObjectCatcher::subscribeUnitFloat(), and KisAslCallbackObjectCatcher::subscribeUnitRect().
|
inline |
Definition at line 1315 of file psd_additional_layer_info_block.h.
References originType, and typeToName.
| bool psd_vector_origination_data::isStar = false |
Definition at line 1208 of file psd_additional_layer_info_block.h.
| QPolygonF psd_vector_origination_data::originBoxCorners |
post-transform bbox as a polygon, seen on 1, 7, 8 and 9.
Definition at line 1205 of file psd_additional_layer_info_block.h.
| int psd_vector_origination_data::originIndex = 0 |
Definition at line 1203 of file psd_additional_layer_info_block.h.
| double psd_vector_origination_data::originPolyPixelHSF = 1.0 |
Only 7 and 8, no clue.
Definition at line 1209 of file psd_additional_layer_info_block.h.
| QPolygonF psd_vector_origination_data::originPolyPreviousTightBoxCorners |
Only 7 an 8, same as originBoxCorners.
Definition at line 1210 of file psd_additional_layer_info_block.h.
| int psd_vector_origination_data::originPolySides = 0 |
Only for 7 and 8.
Definition at line 1206 of file psd_additional_layer_info_block.h.
| double psd_vector_origination_data::originPolyStarRatio = 100.0 |
Only for 8, percentage of small radius to big radius.
Definition at line 1207 of file psd_additional_layer_info_block.h.
| QPolygonF psd_vector_origination_data::originPolyTrueRectCorners |
Only 7 an 8, same as originBoxCorners.
Definition at line 1211 of file psd_additional_layer_info_block.h.
| double psd_vector_origination_data::originResolution = 72.0 |
Resolution of the coordinates.
Definition at line 1201 of file psd_additional_layer_info_block.h.
| QRectF psd_vector_origination_data::originShapeBBox |
pre-transform bbox.
Definition at line 1200 of file psd_additional_layer_info_block.h.
| int psd_vector_origination_data::originType = -1 |
1 = rect, 2 = rounded rect?, 3 = ? 4 = ? 5 = ellipse, 6 = ?, 7 = polygon, 8 = star, 9 = premade path shape.
Definition at line 1191 of file psd_additional_layer_info_block.h.
| QTransform psd_vector_origination_data::transform |
Definition at line 1202 of file psd_additional_layer_info_block.h.
| const QMap<int, QString> psd_vector_origination_data::typeToName |
Definition at line 1193 of file psd_additional_layer_info_block.h.