public void GetNextRect(ref int x, ref int y, ref int width, ref int height) { RFX_RECT *rect = rfx_message_get_rect(handle, irects++); x = rect->x; y = rect->y; width = rect->width; height = rect->height; }
public Cairo.Rectangle GetNextRect() { Cairo.Rectangle rectangle; rect = rfx_message_get_rect(msg, irects++); rectangle = new Cairo.Rectangle((double) rect->x, (double) rect->y, (double) rect->width, (double) rect->height); return rectangle; }