Method
MetaShadowpaint
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-
Type:
CoglFramebufferNo description available.
The data is owned by the caller of the method. window_x-
Type:
intX position of the region to paint a shadow for.
window_y-
Type:
intY position of the region to paint a shadow for.
window_width-
Type:
intActual width of the region to paint a shadow for.
window_height-
Type:
intActual height of the region to paint a shadow for.
opacity-
Type:
guint8No description available.
clip-
Type:
cairo_region_tIf non-
NULLspecifies the visible portion of the shadow.The argument can be NULL.The data is owned by the caller of the method. clip_strictly-
Type:
gbooleanIf
TRUE, drawing will be clipped strictly toclip, otherwise, it will be only used to optimize drawing.