Callbacks

SurfaceBeginAtomicFunction (self)

SurfaceDestroyFunction (self)

SurfaceDrawDabFunction (self, x, y, radius, color_r, color_g, color_b, opaque, hardness, alpha_eraser, aspect_ratio, angle, lock_alpha, colorize)

SurfaceEndAtomicFunction (self, roi)

SurfaceGetColorFunction (self, x, y, radius, color_r, color_g, color_b, color_a)

SurfaceSavePngFunction (self, path, x, y, width, height)

TileRequestEndFunction (self, request)

TileRequestStartFunction (self, request)

Details

MyPaint.SurfaceBeginAtomicFunction(self)
Parameters:

self (MyPaint.Surface) –

MyPaint.SurfaceDestroyFunction(self)
Parameters:

self (MyPaint.Surface) –

MyPaint.SurfaceDrawDabFunction(self, x, y, radius, color_r, color_g, color_b, opaque, hardness, alpha_eraser, aspect_ratio, angle, lock_alpha, colorize)
Parameters:
Return type:

int

MyPaint.SurfaceEndAtomicFunction(self, roi)
Parameters:
MyPaint.SurfaceGetColorFunction(self, x, y, radius, color_r, color_g, color_b, color_a)
Parameters:
MyPaint.SurfaceSavePngFunction(self, path, x, y, width, height)
Parameters:
MyPaint.TileRequestEndFunction(self, request)
Parameters:
MyPaint.TileRequestStartFunction(self, request)
Parameters: