void DrawBackground (Cairo.Context context, Gdk.Rectangle area) { if (Owner.BackgroundImage == null) return; context.RenderTiled (Owner.BackgroundImage, Allocation, Allocation, 1); }
void DrawOverdraw (Cairo.Context context, double opacity) { if (Owner.BackgroundImage == null) return; context.RenderTiled (Owner.BackgroundImage, Allocation, new Gdk.Rectangle (Allocation.X, Allocation.Y + OverdrawOffset, Allocation.Width, Allocation.Height - OverdrawOffset), opacity); }