Krita Source Code Documentation
Loading...
Searching...
No Matches
hatching_brush.cpp File Reference
#include "hatching_brush.h"
#include <KoColor.h>
#include <KoColorTransformation.h>
#include <QVariant>
#include "kis_random_accessor_ng.h"
#include <cmath>
#include <time.h>

Go to the source code of this file.

Functions

void myround (double *x)
 

Function Documentation

◆ myround()

void myround ( double * x)
inline

Definition at line 20 of file hatching_brush.cpp.

21{
22 *x = ((*x - floor(*x)) >= 0.5) ? ceil(*x) : floor(*x);
23}