aboutsummaryrefslogtreecommitdiffstatsci
path: root/Backends/CairoBackend/src/MeshPattern.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Backends/CairoBackend/src/MeshPattern.cs')
-rw-r--r--Backends/CairoBackend/src/MeshPattern.cs38
1 files changed, 19 insertions, 19 deletions
diff --git a/Backends/CairoBackend/src/MeshPattern.cs b/Backends/CairoBackend/src/MeshPattern.cs
index f2576705..39fdd2af 100644
--- a/Backends/CairoBackend/src/MeshPattern.cs
+++ b/Backends/CairoBackend/src/MeshPattern.cs
@@ -45,64 +45,64 @@ namespace Crow.CairoBackend {
//no idea why this is here, the base one is identical, but we can't remove it now
public new Extend Extend {
- set { NativeMethods.cairo_pattern_set_extend (Handle, value); }
- get { return NativeMethods.cairo_pattern_get_extend (Handle); }
+ set { NativeMethods.cairo_pattern_set_extend (handle, value); }
+ get { return NativeMethods.cairo_pattern_get_extend (handle); }
}
public Filter Filter {
- set { NativeMethods.cairo_pattern_set_filter (Handle, value); }
- get { return NativeMethods.cairo_pattern_get_filter (Handle); }
+ set { NativeMethods.cairo_pattern_set_filter (handle, value); }
+ get { return NativeMethods.cairo_pattern_get_filter (handle); }
}
public void BeginPatch(){
- NativeMethods.cairo_mesh_pattern_begin_patch (Handle);
+ NativeMethods.cairo_mesh_pattern_begin_patch (handle);
}
public void EndPatch(){
- NativeMethods.cairo_mesh_pattern_end_patch (Handle);
+ NativeMethods.cairo_mesh_pattern_end_patch (handle);
}
public void MoveTo(double x, double y){
- NativeMethods.cairo_mesh_pattern_move_to (Handle, x, y);
+ NativeMethods.cairo_mesh_pattern_move_to (handle, x, y);
}
public void MoveTo (PointD p) {
- NativeMethods.cairo_mesh_pattern_move_to (Handle, p.X, p.Y);
+ NativeMethods.cairo_mesh_pattern_move_to (handle, p.X, p.Y);
}
public void LineTo(double x, double y){
- NativeMethods.cairo_mesh_pattern_line_to (Handle, x, y);
+ NativeMethods.cairo_mesh_pattern_line_to (handle, x, y);
}
public void LineTo (PointD p) {
- NativeMethods.cairo_mesh_pattern_line_to (Handle, p.X, p.Y);
+ NativeMethods.cairo_mesh_pattern_line_to (handle, p.X, p.Y);
}
public void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)
{
- NativeMethods.cairo_mesh_pattern_curve_to (Handle, x1, y1, x2, y2, x3, y3);
+ NativeMethods.cairo_mesh_pattern_curve_to (handle, x1, y1, x2, y2, x3, y3);
}
public void SetControlPoint(uint point_num, double x, double y){
- NativeMethods.cairo_mesh_pattern_set_control_point (Handle, point_num, x, y);
+ NativeMethods.cairo_mesh_pattern_set_control_point (handle, point_num, x, y);
}
public void SetControlPoint (uint point_num, PointD p) {
- NativeMethods.cairo_mesh_pattern_set_control_point (Handle, point_num, p.X, p.Y);
+ NativeMethods.cairo_mesh_pattern_set_control_point (handle, point_num, p.X, p.Y);
}
public void SetCornerColorRGB(uint corner_num, double r, double g, double b){
- NativeMethods.cairo_mesh_pattern_set_corner_color_rgb (Handle, corner_num, r, g, b);
+ NativeMethods.cairo_mesh_pattern_set_corner_color_rgb (handle, corner_num, r, g, b);
}
public void SetCornerColorRGBA(uint corner_num, double r, double g, double b, double a){
- NativeMethods.cairo_mesh_pattern_set_corner_color_rgba (Handle, corner_num, r, g, b, a);
+ NativeMethods.cairo_mesh_pattern_set_corner_color_rgba (handle, corner_num, r, g, b, a);
}
public void SetCornerColor (uint corner_num, Color c) {
- NativeMethods.cairo_mesh_pattern_set_corner_color_rgba (Handle, corner_num, c.R, c.G, c.B, c.A);
+ NativeMethods.cairo_mesh_pattern_set_corner_color_rgba (handle, corner_num, c.R, c.G, c.B, c.A);
}
public uint PatchCount {
get {
uint count = 0;
- NativeMethods.cairo_mesh_pattern_get_patch_count(Handle, out count);
+ NativeMethods.cairo_mesh_pattern_get_patch_count(handle, out count);
return count;
}
}
public Path GetPath(uint patch_num){
- return new Path(NativeMethods.cairo_mesh_pattern_get_path(Handle, patch_num));
+ return new Path(NativeMethods.cairo_mesh_pattern_get_path(handle, patch_num));
}
public PointD GetControlPoint(uint point_num, uint patch_num = 0) {
- NativeMethods.cairo_mesh_pattern_get_control_point (Handle, patch_num, point_num, out double x, out double y);
+ NativeMethods.cairo_mesh_pattern_get_control_point (handle, patch_num, point_num, out double x, out double y);
return new PointD (x, y);
}
public void GetCornerColorRGBA(){