Example #1
0
		public override void Draw(object control, GraphicsHandler graphics, RectangleF rect)
		{
			graphics.Control.SetFillColor((CGColor)control);

			graphics.Control.FillRect(rect.ToNS());
		}
Example #2
0
		public void SetClip(RectangleF rectangle)
		{
			RewindTransform();
			RewindClip();
			clipPath = null;
			clipBounds = currentTransform.TransformRect(rectangle.ToNS());
			ApplyClip();
			ApplyTransform();
		}