Table of Contents

Method cairo_image_surface_get_width

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

cairo_image_surface_get_width(nint)

Gets the width, in pixels, of the specified Cairo image surface.

public static extern int cairo_image_surface_get_width(nint surface)

Parameters

surface nint

Pointer to a cairo_surface_t representing an image surface.

Returns

int

The width of the image surface in pixels. If surface is invalid, behavior is undefined.