Changeset View
Changeset View
Standalone View
Standalone View
plugins/assistants/Assistants/VanishingPointAssistant.h
Context not available. | |||||
50 | QPointF buttonPosition() const override; | 50 | QPointF buttonPosition() const override; | ||
---|---|---|---|---|---|
51 | int numHandles() const override { return 1; } | 51 | int numHandles() const override { return 1; } | ||
52 | 52 | | |||
53 | // set the angle property | ||||
54 | void setCustomPropertyFloat(QString propertyName, float value ) override; | ||||
55 | | ||||
53 | bool isAssistantComplete() const; | 56 | bool isAssistantComplete() const; | ||
54 | 57 | | |||
55 | protected: | 58 | protected: | ||
Context not available. | |||||
58 | private: | 61 | private: | ||
59 | QPointF project(const QPointF& pt, const QPointF& strokeBegin); | 62 | QPointF project(const QPointF& pt, const QPointF& strokeBegin); | ||
60 | KisCanvas2 *m_canvas; | 63 | KisCanvas2 *m_canvas; | ||
64 | | ||||
65 | float m_referenceLineDensity = 5.0; | ||||
66 | | ||||
61 | }; | 67 | }; | ||
62 | 68 | | |||
63 | class VanishingPointAssistantFactory : public KisPaintingAssistantFactory | 69 | class VanishingPointAssistantFactory : public KisPaintingAssistantFactory | ||
Context not available. |