Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDynamicSensorIds.h File Reference
#include <KoID.h>

Go to the source code of this file.

Functions

const KoID DistanceId ("distance", ki18nc("Context: dynamic sensors", "Distance"))
 generate a number that increase with distance
 
const KoID DrawingAngleId ("drawingangle", ki18nc("Context: dynamic sensors", "Drawing angle"))
 number depending on the angle
 
const KoID FadeId ("fade", ki18nc("Context: dynamic sensors", "Fade"))
 generate a number that increase every time you call it (e.g. per dab)
 
const KoID FuzzyPerDabId ("fuzzy", ki18nc("Context: dynamic sensors", "Fuzzy Dab"))
 generate a random number
 
const KoID FuzzyPerStrokeId ("fuzzystroke", ki18nc("Context: dynamic sensors", "Fuzzy Stroke"))
 generate a random number
 
const KoID PerspectiveId ("perspective", ki18nc("Context: dynamic sensors", "Perspective"))
 < tilt elevation is 90 when stylus is perpendicular to tablet and 0 when it's parallel to tablet
 
const KoID PressureId ("pressure", ki18nc("Context: dynamic sensors", "Pressure"))
 number depending on the pressure
 
const KoID PressureInId ("pressurein", ki18nc("Context: dynamic sensors", "PressureIn"))
 number depending on the pressure
 
const KoID RotationId ("rotation", ki18nc("Context: dynamic sensors", "Rotation"))
 rotation coming from the device
 
const KoID SensorsListId ("sensorslist", "SHOULD NOT APPEAR IN THE UI !")
 this a non user-visible sensor that can store a list of other sensors, and multiply their output
 
const KoID SpeedId ("speed", ki18nc("Context: dynamic sensors", "Speed"))
 generate a number depending on the speed of the cursor
 
const KoID TangentialPressureId ("tangentialpressure", ki18nc("Context: dynamic sensors", "Tangential pressure"))
 the wheel on an airbrush device
 
const KoID TiltDirectionId ("ascension", ki18nc("Context: dynamic sensors", "Tilt direction"))
 
const KoID TiltElevationId ("declination", ki18nc("Context: dynamic sensors", "Tilt elevation"))
 < number depending on the X and Y tilt, tilt direction is 0 when stylus nib points to you and changes clockwise from -180 to +180.
 
const KoID TimeId ("time", ki18nc("Context: dynamic sensors", "Time"))
 generate a number that increase with time
 
const KoID XTiltId ("xtilt", ki18nc("Context: dynamic sensors", "X-Tilt"))
 number depending on X-tilt
 
const KoID YTiltId ("ytilt", ki18nc("Context: dynamic sensors", "Y-Tilt"))
 number depending on Y-tilt
 

Function Documentation

◆ DistanceId()

const KoID DistanceId ( "distance" ,
ki18nc("Context: dynamic sensors", "Distance")  )

generate a number that increase with distance

◆ DrawingAngleId()

const KoID DrawingAngleId ( "drawingangle" ,
ki18nc("Context: dynamic sensors", "Drawing angle")  )

number depending on the angle

◆ FadeId()

const KoID FadeId ( "fade" ,
ki18nc("Context: dynamic sensors", "Fade")  )

generate a number that increase every time you call it (e.g. per dab)

◆ FuzzyPerDabId()

const KoID FuzzyPerDabId ( "fuzzy" ,
ki18nc("Context: dynamic sensors", "Fuzzy Dab")  )

generate a random number

◆ FuzzyPerStrokeId()

const KoID FuzzyPerStrokeId ( "fuzzystroke" ,
ki18nc("Context: dynamic sensors", "Fuzzy Stroke")  )

generate a random number

◆ PerspectiveId()

const KoID PerspectiveId ( "perspective" ,
ki18nc("Context: dynamic sensors", "Perspective")  )

< tilt elevation is 90 when stylus is perpendicular to tablet and 0 when it's parallel to tablet

number depending on the distance on the perspective grid

◆ PressureId()

const KoID PressureId ( "pressure" ,
ki18nc("Context: dynamic sensors", "Pressure")  )

number depending on the pressure

◆ PressureInId()

const KoID PressureInId ( "pressurein" ,
ki18nc("Context: dynamic sensors", "PressureIn")  )

number depending on the pressure

◆ RotationId()

const KoID RotationId ( "rotation" ,
ki18nc("Context: dynamic sensors", "Rotation")  )

rotation coming from the device

◆ SensorsListId()

const KoID SensorsListId ( "sensorslist" ,
"SHOULD NOT APPEAR IN THE UI !"  )

this a non user-visible sensor that can store a list of other sensors, and multiply their output

◆ SpeedId()

const KoID SpeedId ( "speed" ,
ki18nc("Context: dynamic sensors", "Speed")  )

generate a number depending on the speed of the cursor

◆ TangentialPressureId()

const KoID TangentialPressureId ( "tangentialpressure" ,
ki18nc("Context: dynamic sensors", "Tangential pressure")  )

the wheel on an airbrush device

◆ TiltDirectionId()

const KoID TiltDirectionId ( "ascension" ,
ki18nc("Context: dynamic sensors", "Tilt direction")  )

"TiltDirection" and "TiltElevation" parameters are written to preset files as "ascension" and "declination" to keep backward compatibility with older presets from the days when they were called differently.

◆ TiltElevationId()

const KoID TiltElevationId ( "declination" ,
ki18nc("Context: dynamic sensors", "Tilt elevation")  )

< number depending on the X and Y tilt, tilt direction is 0 when stylus nib points to you and changes clockwise from -180 to +180.

◆ TimeId()

const KoID TimeId ( "time" ,
ki18nc("Context: dynamic sensors", "Time")  )

generate a number that increase with time

◆ XTiltId()

const KoID XTiltId ( "xtilt" ,
ki18nc("Context: dynamic sensors", "X-Tilt")  )

number depending on X-tilt

◆ YTiltId()

const KoID YTiltId ( "ytilt" ,
ki18nc("Context: dynamic sensors", "Y-Tilt")  )

number depending on Y-tilt