示例#1
0
		static extern void glitz_drawable_swap_buffer_region (IntPtr drawable, int x_origin, int y_origin, Box[] box, int n_box);
		public void SwapBufferRegion (int x_origin, int y_origin, Box[] box)
		{
			GlitzAPI.glitz_drawable_swap_buffer_region (Handle, x_origin, y_origin, box, box.Length);
		}
示例#3
0
		static extern IntPtr glitz_surface_set_clip_region (IntPtr surface, int x_origin, int y_origin, Box[] box, int n_box);
		public void SetClipRegion (int x_origin, int y_origin, Box[] box)
		{
			GlitzAPI.glitz_surface_set_clip_region (Handle, x_origin, y_origin, box, box.Length);
		}