Meta.Shadow.paint

### Method

# Meta Shadowpaint

#### Declaration [src]

    void
    meta_shadow_paint (
      MetaShadow* shadow,
      CoglFramebuffer* framebuffer,
      int window_x,
      int window_y,
      int window_width,
      int window_height,
      guint8 opacity,
      cairo_region_t* clip,
      gboolean clip_strictly
    )

#### Description [src]

Paints the shadow at the given position, for the specified actual size of the region. (Since a `MetaShadow` can be shared between different sizes with the same extracted `MetaWindowShape` the size needs to be passed in here.)

#### Parameters

`framebuffer` | `CoglFramebuffer`
| No description available.
| The data is owned by the caller of the function.
`window_x` | `int`
| X position of the region to paint a shadow for.
`window_y` | `int`
| Y position of the region to paint a shadow for.
`window_width` | `int`
| Actual width of the region to paint a shadow for.
`window_height` | `int`
| Actual height of the region to paint a shadow for.
`opacity` | `guint8`
| No description available.
`clip` | `cairo_region_t`
| If non-`NULL` specifies the visible portion of the shadow.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`clip_strictly` | `gboolean`
| If `TRUE`, drawing will be clipped strictly to `clip`, otherwise, it will be only used to optimize drawing.