GVnc.Framebuffer.fill
Description: Reference for GVnc.Framebuffer.fill

### Virtual Method

# GVnc Framebufferfill

#### Declaration [src]

    void
    fill (
      VncFramebuffer* fb,
      guint8* src,
      guint16 x,
      guint16 y,
      guint16 width,
      guint16 height
    )

#### Description [src]

Fill all the pixels in the range (`x`, `y`) to (`x` + `width`, `y` + `height`) to the value in `src`. The number of bytes in `src` is determined by the remote pixel format.

#### Parameters

`src`

  Type: An array of `guint8`

  The new pixel data.

  The data is owned by the caller of the method.

`x`

  Type: `guint16`

  The horizontal pixel to start filling.

`y`

  Type: `guint16`

  The vertical pixel to start filling.

`width`

  Type: `guint16`

  The number of pixels to fill horizontally.

`height`

  Type: `guint16`

  The number of pixels to fill vertically.