kis_substrate.h
This abstract class defines the properties of a substrate – that is, the simulation of the paper or c...
Definition kis_substrate.h:47
virtual void writePixels(const KisSubstratePixel *substrate, const TQRect &rc)=0
Copy the specified rect of substrate pixels onto the substrate.
virtual void getPixel(KisSubstratePixel *ksp, int x, int y) const =0
Read the value at the specified position into the given substrate pixel.
virtual void writePixel(const KisSubstratePixel &ksp, int x, int y)=0
Copy the value of the given substrate pixel to the specified location.
virtual void getPixels(KisSubstratePixel *substrate, const TQRect &rc) const =0
Copy the pixel values in the specified rect into an array of Substrate.
