public void DrawLayer(CGLayer layer, CGPoint point) { if (layer == null) { throw new ArgumentNullException("layer"); } CGContextDrawLayerAtPoint(handle, point, layer.Handle); }
public void DrawLayer(CGLayer layer, CGRect rect) { if (layer == null) { throw new ArgumentNullException("layer"); } CGContextDrawLayerInRect(handle, rect, layer.Handle); }