v_sim.PixmapContext

Fields

None

Methods

class

new (width, height)

free ()

Details

class v_sim.PixmapContext

Short way to address #_VisuPixmapContext objects.

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

  • height (int) – an integer.

Returns:

a newly allocated #DumpImage object.

Return type:

v_sim.PixmapContext

Create a pixmap storage and a context associated to it. This pixmap can then be used to dump pixel data from an OpenGL area.

free()

Free an allocated #DumpImage.