chalk

KisBoundary Class Reference

#include <kis_boundary.h>

Public Member Functions

 KisBoundary (KisPaintDevice *dev)
 
void generateBoundary (int w, int h)
 

Friends

class KisBoundaryPainter
 

Detailed Description

Generates an 'outline' for a paint device.

It should look a bit like the outline of a marching ants selection. You can use it to paint the outline of a KisBrush while painting. It's not really optimized, so it's not recommended to do big things with it and expect it to be fast. Usage: construct a KisBoundary, and then run a generateBoundary(w, h) on it. After that, you can use the KisBoundaryPainter::paint method to let it paint the outline, or get a pixmap.

Definition at line 37 of file kis_boundary.h.

Constructor & Destructor Documentation

◆ KisBoundary()

KisBoundary::KisBoundary ( KisPaintDevice *  dev)

Definition at line 26 of file kis_boundary.cpp.

Member Function Documentation

◆ generateBoundary()

void KisBoundary::generateBoundary ( int  w,
int  h 
)

Definition at line 35 of file kis_boundary.cpp.

Friends And Related Symbol Documentation

◆ KisBoundaryPainter

friend class KisBoundaryPainter
friend

Definition at line 54 of file kis_boundary.h.


The documentation for this class was generated from the following files: