1 // Copyright (c) 2011 Novell, Inc.
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of version 2 of the Lesser GNU General
5 // Public License as published by the Free Software Foundation.
6 //
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10 // Lesser General Public License for more details.
11 //
12 // You should have received a copy of the GNU Lesser General Public
13 // License along with this program; if not, write to the
14 // Free Software Foundation, Inc., 59 Temple Place - Suite 330,
15 // Boston, MA 02111-1307, USA.
16 
17 
18 using System;
19 
20 namespace Gtk {
21 
22 	public partial class StyleContext {
23 
RenderActivity(Cairo.Context cr, double x, double y, double width, double height)24 		public void RenderActivity (Cairo.Context cr, double x, double y, double width, double height)
25 		{
26 			Render.Activity (this, cr, x, y, width, height);
27 		}
28 
RenderArrow(Cairo.Context cr, double angle, double x, double y, double size)29 		public void RenderArrow (Cairo.Context cr, double angle, double x, double y, double size)
30 		{
31 			Render.Arrow (this, cr, angle, x, y, size);
32 		}
33 
RenderBackground(Cairo.Context cr, double x, double y, double width, double height)34 		public void RenderBackground (Cairo.Context cr, double x, double y, double width, double height)
35 		{
36 			Render.Background (this, cr, x, y, width, height);
37 		}
38 
RenderCheck(Cairo.Context cr, double x, double y, double width, double height)39 		public void RenderCheck (Cairo.Context cr, double x, double y, double width, double height)
40 		{
41 			Render.Check (this, cr, x, y, width, height);
42 		}
43 
RenderExtension(Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side)44 		public void RenderExtension (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side)
45 		{
46 			Render.Extension (this, cr, x, y, width, height, gap_side);
47 		}
48 
RenderExpander(Cairo.Context cr, double x, double y, double width, double height)49 		public void RenderExpander (Cairo.Context cr, double x, double y, double width, double height)
50 		{
51 			Render.Expander (this, cr, x, y, width, height);
52 		}
53 
RenderFocus(Cairo.Context cr, double x, double y, double width, double height)54 		public void RenderFocus (Cairo.Context cr, double x, double y, double width, double height)
55 		{
56 			Render.Focus (this, cr, x, y, width, height);
57 		}
58 
RenderFrame(Cairo.Context cr, double x, double y, double width, double height)59 		public void RenderFrame (Cairo.Context cr, double x, double y, double width, double height)
60 		{
61 			Render.Frame (this, cr, x, y, width, height);
62 		}
63 
RenderFrameGap(Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap)64 		public void RenderFrameGap (Cairo.Context cr, double x, double y, double width, double height, Gtk.PositionType gap_side, double xy0_gap, double xy1_gap)
65 		{
66 			Render.FrameGap (this, cr, x, y, width, height, gap_side, xy0_gap, xy1_gap);
67 		}
68 
RenderHandle(Cairo.Context cr, double x, double y, double width, double height)69 		public void RenderHandle (Cairo.Context cr, double x, double y, double width, double height)
70 		{
71 			Render.Handle (this, cr, x, y, width, height);
72 		}
73 
RenderIconPixbuf(Gtk.IconSource source, Gtk.IconSize size)74 		public Gdk.Pixbuf RenderIconPixbuf (Gtk.IconSource source, Gtk.IconSize size)
75 		{
76 			return Render.IconPixbuf (this, source, size);
77 		}
78 
RenderLayout(Cairo.Context cr, double x, double y, Pango.Layout layout)79 		public void RenderLayout (Cairo.Context cr, double x, double y, Pango.Layout layout)
80 		{
81 			Render.Layout (this, cr, x, y, layout);
82 		}
83 
RenderLine(Cairo.Context cr, double x0, double y0, double x1, double y1)84 		public void RenderLine (Cairo.Context cr, double x0, double y0, double x1, double y1)
85 		{
86 			Render.Line (this, cr, x0, y0, x1, y1);
87 		}
88 
RenderOption(Cairo.Context cr, double x, double y, double width, double height)89 		public void RenderOption (Cairo.Context cr, double x, double y, double width, double height)
90 		{
91 			Render.Option (this, cr, x, y, width, height);
92 		}
93 
RenderSlider(Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation)94 		public void RenderSlider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation)
95 		{
96 			Render.Slider (this, cr, x, y, width, height, orientation);
97 		}
98 	}
99 }
100