Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./libs/ui/kra/kis_kra_saver.cpp: int count_ellipse = 0, count_perspective = 0, count_ruler = 0, count_vanishingpoint = 0,count_infiniteruler = 0, count_parallelruler = 0, count_concentricellipse = 0, count_fisheyepoint = 0, count_spline = 0;
- ./libs/ui/kra/kis_kra_saver.cpp: else if (assist->id() == "perspective"){
- ./libs/ui/kra/kis_kra_saver.cpp: assist->saveXmlList(doc, assistantsElement, count_perspective);
- ./libs/ui/kra/kis_kra_saver.cpp: count_perspective++;
- ./libs/ui/kis_canvas_resource_provider.cpp:QList<QPointer<KisAbstractPerspectiveGrid> > KisCanvasResourceProvider::perspectiveGrids() const
- ./libs/ui/kis_canvas_resource_provider.cpp: return m_perspectiveGrids;
- ./libs/ui/kis_canvas_resource_provider.cpp: m_perspectiveGrids.append(grid);
- ./libs/ui/kis_canvas_resource_provider.cpp: m_perspectiveGrids.removeOne(grid);
- ./libs/ui/kis_canvas_resource_provider.cpp: m_perspectiveGrids.clear();
- ./libs/ui/kis_canvas_resource_provider.h: QList<QPointer<KisAbstractPerspectiveGrid> > perspectiveGrids() const;
- ./libs/ui/kis_canvas_resource_provider.h: QList<QPointer<KisAbstractPerspectiveGrid> > m_perspectiveGrids;
- ./libs/ui/kis_painting_assistant.cc: else if (d->id == "perspective"){
- ./libs/ui/kis_painting_assistant.cc: assistantElement.setAttribute("type", "perspective");
- ./libs/ui/kis_painting_assistant.cc: assistantElement.setAttribute("filename", QString("perspective%1.assistant").arg(count));
- ./libs/ui/kis_painting_assistant.cc: if (d->handles.size() == 4 && d->id == "perspective") {
- ./libs/ui/tool/kis_tool_freehand.cc: qreal perspective = 1.0;
- ./libs/ui/tool/kis_tool_freehand.cc: Q_FOREACH (const QPointer<KisAbstractPerspectiveGrid> grid, static_cast<KisCanvas2*>(canvas())->viewManager()->resourceProvider()->perspectiveGrids()) {
- ./libs/ui/tool/kis_tool_freehand.cc: perspective = grid->distance(pos);
- ./libs/ui/tool/kis_tool_freehand.cc: perspective, 0, 0),
- ./libs/ui/tool/kis_tool_freehand.cc: qreal perspective = 1.0;
- ./libs/ui/tool/kis_tool_freehand.cc: Q_FOREACH (const QPointer<KisAbstractPerspectiveGrid> grid, static_cast<KisCanvas2*>(canvas())->viewManager()->resourceProvider()->perspectiveGrids()) {
- ./libs/ui/tool/kis_tool_freehand.cc: perspective = grid->distance(documentPoint);
- ./libs/ui/tool/kis_tool_freehand.cc: return perspective;
- ./libs/ui/tool/kis_painting_information_builder.cpp: qreal perspective = calculatePerspective(adjusted);
- ./libs/ui/tool/kis_painting_information_builder.cpp: perspective,
- ./libs/ui/tool/kis_painting_information_builder.cpp: qreal perspective = calculatePerspective(imagePoint);
- ./libs/ui/tool/kis_painting_information_builder.cpp: perspective,
- ./libs/ui/kis_painting_assistants_decoration.cpp: //this is here to be compatible with the movement in the perspective tool.
- ./libs/image/brushengine/kis_paint_information.h: * @param perspective
- ./libs/image/brushengine/kis_paint_information.h: qreal perspective,
- ./libs/image/brushengine/kis_paint_information.h: /// reciprocal of distance on the perspective grid
- ./libs/image/brushengine/kis_paint_information.h: qreal perspective() const;
- ./libs/image/brushengine/kis_paint_information.h: qreal perspective = 1.0,
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective_,
- ./libs/image/brushengine/kis_paint_information.cc: perspective(perspective_),
- ./libs/image/brushengine/kis_paint_information.cc: perspective = rhs.perspective;
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective;
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective,
- ./libs/image/brushengine/kis_paint_information.cc: perspective,
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective,
- ./libs/image/brushengine/kis_paint_information.cc: perspective, 0, speed);
- ./libs/image/brushengine/kis_paint_information.cc: e.setAttribute("perspective", QString::number(perspective(), 'g', 15));
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective = qreal(KisDomUtils::toDouble(e.attribute("perspective", "0.0")));
- ./libs/image/brushengine/kis_paint_information.cc: rotation, tangentialPressure, perspective, time, speed);
- ./libs/image/brushengine/kis_paint_information.cc:qreal KisPaintInformation::perspective() const
- ./libs/image/brushengine/kis_paint_information.cc: return d->perspective;
- ./libs/image/brushengine/kis_paint_information.cc: dbg.nospace() << ", Perspective: " << info.perspective();
- ./libs/image/brushengine/kis_paint_information.cc: basePi.perspective(),
- ./libs/image/brushengine/kis_paint_information.cc: qreal perspective = (1 - t) * pi1.perspective() + t * pi2.perspective();
- ./libs/image/brushengine/kis_paint_information.cc: KisPaintInformation result(p, pressure, xTilt, yTilt, rotation, tangentialPressure, perspective, time, speed);
- ./libs/image/kis_layer_utils.cpp: foreach(KisNodeSP perspectiveParent, parents) {
- ./libs/image/kis_layer_utils.cpp: if (nodeParents.contains(perspectiveParent)) {
- ./libs/image/kis_perspective_math.cpp:#include "kis_perspective_math.h"
- ./libs/image/kis_painter.cc:#include "kis_perspective_math.h"
- ./libs/image/kis_perspectivetransform_worker.cpp:#include "kis_perspectivetransform_worker.h"
- ./libs/image/kis_perspectivetransform_worker.cpp:#include "kis_perspective_math.h"
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.h:#include "kis_abstract_perspective_grid.h"
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.h: // finds the transform from perspective coordinates (a unit square) to the document
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.h: MODE_CREATION, // This is the mode when there is not yet a perspective grid
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.h: MODE_DRAGGING_TRANSLATING_TWONODES // This mode is used when creating a new sub perspective grid
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc:#include <kis_abstract_perspective_grid.h>
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: if(m_handleDrag && assistant->id() == "perspective") {
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: m_newAssistant = toQShared(KisPaintingAssistantFactoryRegistry::instance()->get("perspective")->createPaintingAssistant());
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: m_newAssistant = toQShared(KisPaintingAssistantFactoryRegistry::instance()->get("perspective")->createPaintingAssistant());
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: m_newAssistant = toQShared(KisPaintingAssistantFactoryRegistry::instance()->get("perspective")->createPaintingAssistant());
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: m_newAssistant = toQShared(KisPaintingAssistantFactoryRegistry::instance()->get("perspective")->createPaintingAssistant());
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: if(assistant->id() == "perspective") {
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline = QLineF(*assistant->handles()[0], *assistant->sideHandles()[0]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: length +=perspectiveline.length();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: perspectiveline.setLength(length);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: *assistant->sideHandles()[1] = perspectiveline.p2();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline = QLineF(*assistant->handles()[0], *assistant->sideHandles()[2]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: length +=perspectiveline.length();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: perspectiveline.setLength(length);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: *assistant->sideHandles()[3] = perspectiveline.p2();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline = QLineF(*assistant->sideHandles()[0], *assistant->sideHandles()[1]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline2 = QLineF(*assistant->sideHandles()[2], *assistant->sideHandles()[3]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: if (QLineF(perspectiveline2).intersect(QLineF(perspectiveline), &vanishingpoint) != QLineF::NoIntersection){
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline = QLineF(*assistant->handles()[0], *assistant->sideHandles()[0]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: QLineF perspectiveline2 = QLineF(*assistant->handles()[0], *assistant->sideHandles()[2]);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: length +=perspectiveline.length();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: length2 +=perspectiveline2.length();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: perspectiveline.setLength(length);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: perspectiveline2.setLength(length2);
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: *assistant->sideHandles()[1] = perspectiveline.p2();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: *assistant->sideHandles()[3] = perspectiveline2.p2();
- ./plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc: if(assistant->id()=="perspective") {
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.cc: , KisPaintingAssistant("perspective", i18n("Perspective assistant"))
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.cc: //figure out if point is in the perspective grid//
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.cc: qWarning("Failed to create perspective mapping");
- ./plugins/assistants/RulerAssistant/PerspectiveAssistant.cc: return "perspective";
- ./plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp: * transformation for perspective and warp workers.
- ./plugins/tools/tool_transform2/kis_simplified_action_policy_strategy.h: virtual void setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive) = 0;
- ./plugins/tools/tool_transform2/kis_free_transform_strategy.cpp:void KisFreeTransformStrategy::setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive)
- ./plugins/tools/tool_transform2/kis_free_transform_strategy.cpp: if (perspectiveModifierActive) {
- ./plugins/tools/tool_transform2/kis_free_transform_strategy.cpp: //TODO: find another cursor for perspective
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.h: void setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive);
- ./plugins/tools/tool_transform2/kis_transform_utils.cpp:#include <kis_perspectivetransform_worker.h>
- ./plugins/tools/tool_transform2/kis_transform_utils.cpp: KisPerspectiveTransformWorker perspectiveWorker(device,
- ./plugins/tools/tool_transform2/kis_transform_utils.cpp: perspectiveWorker.run();
- ./plugins/tools/tool_transform2/kis_transform_utils.cpp: KisPerspectiveTransformWorker perspectiveWorker(device,
- ./plugins/tools/tool_transform2/kis_transform_utils.cpp: perspectiveWorker.run();
- ./plugins/tools/tool_transform2/kis_liquify_transform_strategy.h: void setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive);
- ./plugins/tools/tool_transform2/kis_warp_transform_strategy.h: void setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive);
- ./plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp:void KisWarpTransformStrategy::setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive)
- ./plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp: m_d->mode = perspectiveModifierActive &&
- ./plugins/tools/tool_transform2/kis_warp_transform_strategy.cpp: !perspectiveModifierActive ? Private::ROTATE_MODE :
- ./plugins/tools/tool_transform2/CMakeLists.txt: kis_perspective_transform_strategy.cpp
- ./plugins/tools/tool_transform2/kis_free_transform_strategy.h: void setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive);
- ./plugins/tools/tool_transform2/kis_tool_transform.cc:#include <kis_perspectivetransform_worker.h>
- ./plugins/tools/tool_transform2/kis_tool_transform.cc:#include "kis_perspective_transform_strategy.h"
- ./plugins/tools/tool_transform2/kis_tool_transform.cc: , m_perspectiveStrategy(
- ./plugins/tools/tool_transform2/kis_tool_transform.cc: connect(m_perspectiveStrategy.data(), SIGNAL(requestCanvasUpdate()), SLOT(canvasUpdateRequested()));
- ./plugins/tools/tool_transform2/kis_tool_transform.cc: connect(m_perspectiveStrategy.data(), SIGNAL(requestShowImageTooBig(bool)), SLOT(imageTooBigRequested(bool)));
- ./plugins/tools/tool_transform2/kis_tool_transform.cc: return m_perspectiveStrategy.data();
- ./plugins/tools/tool_transform2/kis_tool_transform.cc: m_perspectiveStrategy->setThumbnailImage(origImg, thumbToImageTransform);
- ./plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp: connect(perspectiveTransformButton, SIGNAL(clicked(bool)), this, SLOT(slotSetPerspectiveModeButtonClicked(bool)));
- ./plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp: perspectiveTransformButton->setIcon(KisIconUtils::loadIcon("transform_icons_perspective"));
- ./plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp: perspectiveTransformButton->setChecked(true);
- ./plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp: lblTransformType->setText(perspectiveTransformButton->toolTip());
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp:#include "kis_perspective_transform_strategy.h"
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp:void KisPerspectiveTransformStrategy::setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive)
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: Q_UNUSED(perspectiveModifierActive);
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: { // painting perspective handles
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: QPainterPath perspectiveHandles;
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: perspectiveHandles.addEllipse(rc);
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: perspectiveHandles.addEllipse(rc);
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: if (!perspectiveHandles.isEmpty()) {
- ./plugins/tools/tool_transform2/kis_perspective_transform_strategy.cpp: gc.drawPath(perspectiveHandles);
- ./plugins/tools/tool_transform2/kis_tool_transform.h: * and apply a perspective transformation to a selection or the whole
- ./plugins/tools/tool_transform2/kis_tool_transform.h: QScopedPointer<KisPerspectiveTransformStrategy> m_perspectiveStrategy;
- ./plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp:void KisLiquifyTransformStrategy::setTransformFunction(const QPointF &mousePos, bool perspectiveModifierActive)
- ./plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp: Q_UNUSED(perspectiveModifierActive);
- ./plugins/tools/tool_transform2/tool_transform_args.h: // perspective trasform related
- ./plugins/tools/tool_transform2/wdg_tool_transform.ui: <widget class="QToolButton" name="perspectiveTransformButton">
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.cpp: //cbPerspective->setEnabled(m_image && m_image->perspectiveGrid() && m_image->perspectiveGrid()->countSubGrids() == 1);
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.cpp: cbPerspective->setVisible(false); // XXX: Until perspective cloning works again!
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.cpp:void KisDuplicateOpOption::setPerspective(bool perspective)
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.cpp: m_optionWidget->cbPerspective->setChecked(perspective);
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.h: bool m_perspectiveCorrection;
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp: m_perspectiveCorrection = settings->getBool(DUPLICATE_CORRECT_PERSPECTIVE);
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp: // if (m_perspectiveCorrection && m_image && m_image->perspectiveGrid()->countSubGrids() == 1) {
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp: // KisSubPerspectiveGrid* subGridStart = *m_image->perspectiveGrid()->begin();
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp: // KisSubPerspectiveGrid* subGridEnd = *m_image->perspectiveGrid()->begin();
- ./plugins/paintops/defaultpaintops/duplicate/wdgduplicateop.ui: <string>To correct perspective, first create a perspective grid.</string>
- ./plugins/paintops/defaultpaintops/duplicate/wdgduplicateop.ui: <string>Correct the perspective</string>
- ./plugins/paintops/defaultpaintops/duplicate/kis_duplicateop_option.h: void setPerspective(bool perspective);
- ./plugins/paintops/libpaintop/kis_dynamic_sensor.h:const KoID PerspectiveId("perspective", ki18n("Perspective")); ///< number depending on the distance on the perspective grid
- ./plugins/paintops/libpaintop/sensors/kis_dynamic_sensors.h: return info.perspective();
- ./plugins/paintops/libpaintop/kis_dynamic_sensor.cc: return "perspective";
- ./plugins/paintops/libpaintop/kis_dynamic_sensors.h: return info.perspective();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement