Guitar
Classes | Functions
NinePatch.cpp File Reference
#include "NinePatch.h"
#include <QPainter>
#include <vector>
#include <cmath>
Include dependency graph for NinePatch.cpp:

Classes

struct  Part
 

Functions

static bool isStretchableMarker (QRgb pixel)
 
static QImage resize9patch (QImage const &image, int dw, int dh)
 
QImage createImageFromNinePatchImage (QImage const &image, int dw, int dh)
 

Function Documentation

◆ createImageFromNinePatchImage()

QImage createImageFromNinePatchImage ( QImage const &  image,
int  dw,
int  dh 
)
Here is the call graph for this function:

◆ isStretchableMarker()

static bool isStretchableMarker ( QRgb  pixel)
inlinestatic

◆ resize9patch()

static QImage resize9patch ( QImage const &  image,
int  dw,
int  dh 
)
static
Here is the call graph for this function: