예제 #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);
 }