Krita Source Code Documentation
Loading...
Searching...
No Matches
PaintingResources.cpp File Reference
#include "PaintingResources.h"
#include "KisView.h"
#include "KisPart.h"
#include "kis_canvas_resource_provider.h"
#include "KisViewManager.h"
#include "KisMainWindow.h"
#include "kis_image.h"
#include "KisToolShapeUtils.h"

Go to the source code of this file.

Variables

const QStringList FillStyle
 
const QStringList StrokeStyle
 

Variable Documentation

◆ FillStyle

const QStringList FillStyle
Initial value:
= {
"None",
"ForegroundColor",
"BackgroundColor",
"Pattern"
}

Definition at line 23 of file PaintingResources.cpp.

23 {
24 "None", // 0 = KisToolShapeUtils::FillStyle::FillStyleNone
25 "ForegroundColor", // KisToolShapeUtils::FillStyle::FillStyleForegroundColor
26 "BackgroundColor", // KisToolShapeUtils::FillStyle::FillStyleBackgroundColor
27 "Pattern" // KisToolShapeUtils::FillStyle::FillStylePattern
28};

◆ StrokeStyle

const QStringList StrokeStyle
Initial value:
= {
"None",
"ForegroundColor",
"BackgroundColor"
}

Definition at line 17 of file PaintingResources.cpp.

17 {
18 "None", // 0 = KisToolShapeUtils::StrokeStyle::StrokeStyleNone
19 "ForegroundColor", // KisToolShapeUtils::StrokeStyle::StrokeStyleForeground
20 "BackgroundColor" // KisToolShapeUtils::StrokeStyle::StrokeStyleBackground
21};