|
Krita Source Code Documentation
|
#include "kis_painter.h"#include <stdlib.h>#include <string.h>#include <cfloat>#include <cmath>#include <climits>#include <strings.h>#include <QImage>#include <QRect>#include <QString>#include <kundo2command.h>#include <kis_debug.h>#include <klocalizedstring.h>#include "kis_image.h"#include "filter/kis_filter.h"#include "kis_layer.h"#include "kis_paint_device.h"#include "kis_fixed_paint_device.h"#include "kis_transaction.h"#include "kis_vec.h"#include "kis_iterator_ng.h"#include "kis_random_accessor_ng.h"#include "filter/kis_filter_configuration.h"#include "kis_pixel_selection.h"#include <brushengine/kis_paint_information.h>#include "kis_paintop_registry.h"#include "kis_perspective_math.h"#include "tiles3/kis_random_accessor.h"#include <kis_distance_information.h>#include <KoColorSpaceMaths.h>#include "kis_lod_transform.h"#include "kis_algebra_2d.h"#include "krita_utils.h"#include "kis_painter_p.h"Go to the source code of this file.
Macros | |
| #define | BEZIER_FLATNESS_THRESHOLD 0.5 |
Functions | |
| template<bool useOldData> | |
| void | copyAreaOptimizedImpl (const QPoint &dstPt, KisPaintDeviceSP src, KisPaintDeviceSP dst, const QRect &srcRect) |
| static void | getBezierCurvePoints (const KisVector2D &pos1, const KisVector2D &control1, const KisVector2D &control2, const KisVector2D &pos2, vQPointF &points) |
| #define BEZIER_FLATNESS_THRESHOLD 0.5 |
Definition at line 57 of file kis_painter.cc.
| void copyAreaOptimizedImpl | ( | const QPoint & | dstPt, |
| KisPaintDeviceSP | src, | ||
| KisPaintDeviceSP | dst, | ||
| const QRect & | srcRect ) |
Definition at line 105 of file kis_painter.cc.
References KisPainter::bitBlt(), KisPainter::bitBltOldData(), KisPaintDevice::clear(), COMPOSITE_COPY, KisPaintDevice::defaultPixel(), KisPaintDevice::extent(), and KisPainter::setCompositeOpId().
|
static |
Definition at line 1199 of file kis_painter.cc.
References BEZIER_FLATNESS_THRESHOLD, getBezierCurvePoints(), r2, r3, and toQPointF().