Cairo.Context.InFill C# (CSharp) Метод

InFill() публичный Метод

public InFill ( double x, double y ) : bool
x double
y double
Результат bool
        public bool InFill(double x, double y)
        {
            CheckDisposed ();
            return NativeMethods.cairo_in_fill (handle, x, y);
        }

Usage Example

Пример #1
0
 /** FAST */
 public static bool CheckTextExtents(Context cr, TextExtents te, double x, double y)
 {
     bool retval = false;
     cr.Save ();
       PointD pt = cr.CurrentPoint;
       cr.NewPath ();
       cr.Rectangle (pt.X, pt.Y, te.Width, te.Height);
       cr.IdentityMatrix ();
       retval = cr.InFill (x, y);
       if (ShowTextExtents) {
     cr.Operator = Operator.Over;
     cr.Color = new Color (1,0.5,1,0.5);
     cr.LineWidth = 0.5;
     cr.Stroke ();
       }
     cr.Restore ();
     cr.MoveTo (pt.X, pt.Y);
     return retval;
 }
All Usage Examples Of Cairo.Context::InFill