MyPaint.FixedTiledSurface

Fields

None

Methods

class

new (width, height)

get_height ()

get_width ()

interface ()

Details

class MyPaint.FixedTiledSurface

Simple MyPaint.TiledSurface subclass that implements a fixed sized MyPaint.Surface. Only intended for testing and trivial use-cases, and to serve as an example of how to implement a tiled surface subclass.

classmethod new(width, height)
Parameters:
  • width (int) –

  • height (int) –

Return type:

MyPaint.FixedTiledSurface

get_height()
Return type:

int

get_width()
Return type:

int

interface()
Return type:

MyPaint.Surface