Method

MetaShadowget_bounds

Declaration [src]

void
meta_shadow_get_bounds (
  MetaShadow* shadow,
  int window_x,
  int window_y,
  int window_width,
  int window_height,
  cairo_rectangle_int_t* bounds
)

Description [src]

Computes the bounds of the pixels that will be affected by meta_shadow_paint()

Parameters

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.

bounds cairo_rectangle_int_t*
  No description available.
 The data is owned by the caller of the function.