Пример #1
0
 public void DrawLayer(CGLayer layer, CGPoint point)
 {
     if (layer == null)
     {
         throw new ArgumentNullException("layer");
     }
     CGContextDrawLayerAtPoint(handle, point, layer.Handle);
 }
Пример #2
0
 public void DrawLayer(CGLayer layer, CGRect rect)
 {
     if (layer == null)
     {
         throw new ArgumentNullException("layer");
     }
     CGContextDrawLayerInRect(handle, rect, layer.Handle);
 }