← All docs

cairo_image_surface_get_height()

Returns an image surface's height in pixels.

cairo_image_surface_get_height()

function cairo_image_surface_get_height(mixed $surface): int

Returns an image surface’s height in pixels.

Parameters:

  • $surface (mixed)

Returns: int

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how cairo_image_surface_get_height is implemented in the compiler, see the internals page.