• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • krita API Reference
  • KDE Home
  • Contact Us
 

plugins/paintops/libpaintop

  • sources
  • kfour-appscomplete
  • krita
  • plugins
  • paintops
  • libpaintop
kis_current_outline_fetcher.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2013 Dmitry Kazakov <[email protected]>
3  *
4  * SPDX-License-Identifier: GPL-2.0-or-later
5  */
6 
7 #ifndef __KIS_CURRENT_OUTLINE_FETCHER_H
8 #define __KIS_CURRENT_OUTLINE_FETCHER_H
9 
10 #include <kritapaintop_export.h>
11 
12 #include <QFlags>
13 #include <QScopedPointer>
14 #include <QPainterPath>
15 #include <QPointF>
16 
17 #include <kis_paintop_settings.h>
18 
19 class KisPaintInformation;
20 
21 
22 
23 class PAINTOP_EXPORT KisCurrentOutlineFetcher
24 {
25 public:
26  enum Option {
27  NO_OPTION,
28  SIZE_OPTION,
29  ROTATION_OPTION,
30  MIRROR_OPTION,
31  SHARPNESS_OPTION
32  };
33 
34  Q_DECLARE_FLAGS(Options, Option);
35 
36 public:
37  KisCurrentOutlineFetcher(Options optionsAvailable);
38  ~KisCurrentOutlineFetcher();
39 
40  void setDirty();
41 
42  QPainterPath fetchOutline(const KisPaintInformation &info,
43  const KisPaintOpSettingsSP settings,
44  const QPainterPath &originalOutline,
45  const KisPaintOpSettings::OutlineMode &mode,
46  qreal alignForZoom,
47  qreal additionalScale = 1.0,
48  qreal additionalRotation = 0.0,
49  bool tilt = false, qreal tiltcenterx = 1.0, qreal tiltcentery = 1.0) const;
50 
51 private:
52  Q_DISABLE_COPY(KisCurrentOutlineFetcher);
53  struct Private;
54  const QScopedPointer<Private> d;
55 };
56 
57 Q_DECLARE_OPERATORS_FOR_FLAGS(KisCurrentOutlineFetcher::Options);
58 
59 #endif /* __KIS_CURRENT_OUTLINE_FETCHER_H */
QPainterPath
KisCurrentOutlineFetcher::MIRROR_OPTION
Definition: kis_current_outline_fetcher.h:30
KisCurrentOutlineFetcher::ROTATION_OPTION
Definition: kis_current_outline_fetcher.h:29
KisCurrentOutlineFetcher::Option
Option
Definition: kis_current_outline_fetcher.h:26
Q_DECLARE_OPERATORS_FOR_FLAGS
Q_DECLARE_OPERATORS_FOR_FLAGS(KisCurrentOutlineFetcher::Options)
QScopedPointer< Private >
KisCurrentOutlineFetcher::NO_OPTION
Definition: kis_current_outline_fetcher.h:27
KisCurrentOutlineFetcher::SIZE_OPTION
Definition: kis_current_outline_fetcher.h:28
KisCurrentOutlineFetcher
Definition: kis_current_outline_fetcher.h:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 17 2021 23:38:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

plugins/paintops/libpaintop

Skip menu "plugins/paintops/libpaintop"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

krita API Reference

Skip menu "krita API Reference"
  • libs
  •   KritaBasicFlakes
  •   brush
  •   KritaUndo2
  •   KritaFlake
  •   image
  •   KritaPlugin
  •   Krita
  •   KritaPigment
  •   KritaResources
  •   KritaStore
  •   ui
  •   KritaWidgets
  •   KritaWidgetUtils
  • plugins
  •   Assitants
  •   Extensions
  •   Filters
  •   Generators
  •   Formats
  •           src
  •   PaintOps
  •     libpaintop

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal