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

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

private cairo_rectangle ( IntPtr cr, double x, double y, double width, double height ) : void
cr IntPtr
x double
y double
width double
height double
Результат void
        internal static extern void cairo_rectangle(IntPtr cr, double x, double y, double width, double height);

Usage Example

Пример #1
0
        public void ClipExtendRectangle()
        {
            double x1, y1, x2, y2;

            NativeMethods.cairo_clip_extents(handle, out x1, out y1, out x2, out y2);
            NativeMethods.cairo_rectangle(handle, x1, y1, x2 - x1, y2 - y1);
        }
All Usage Examples Of Cairo.NativeMethods::cairo_rectangle
NativeMethods