Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
blob_path.h
Go to the documentation of this file.
1
#ifndef BLOBPATH_H
2
#define BLOBPATH_H
3
4
#include <QPainterPath>
5
12
class
BlobPath
{
13
public
:
27
static
QPainterPath
CreateBlobPath
(
const
std::vector<QPointF> &control_points,
int
num_of_points);
28
};
29
30
#endif
// BLOBPATH_H
BlobPath
Provides a static utility function to create a smooth QPainterPath from blob control points.
Definition
blob_path.h:12
BlobPath::CreateBlobPath
static QPainterPath CreateBlobPath(const std::vector< QPointF > &control_points, int num_of_points)
Creates a closed, smooth QPainterPath using Catmull-Rom-like spline interpolation.
Definition
blob_path.cpp:4
src
blob
utils
blob_path.h
Generated by
1.13.2