Cairo.NativeMethods.cairo_stroke_extents C# (CSharp) Метод

cairo_stroke_extents() приватный Метод

private cairo_stroke_extents ( IntPtr cr, double &x1, double &y1, double &x2, double &y2 ) : void
cr IntPtr
x1 double
y1 double
x2 double
y2 double
Результат void
        internal static extern void cairo_stroke_extents(IntPtr cr, out double x1, out double y1, out double x2, out double y2);

Usage Example

Пример #1
0
        public Crow.Rectangle StrokeExtents()
        {
            double x1, y1, x2, y2;

            NativeMethods.cairo_stroke_extents(handle, out x1, out y1, out x2, out y2);
            return(new Crow.Rectangle((int)x1, (int)y1, (int)(x2 - x1), (int)(y2 - y1)));
        }
All Usage Examples Of Cairo.NativeMethods::cairo_stroke_extents
NativeMethods