Function
GdkPixbufPixbufcalculate_rowstride
since: 2.36.8
Declaration [src]
gint
gdk_pixbuf_calculate_rowstride (
  GdkColorspace colorspace,
  gboolean has_alpha,
  int bits_per_sample,
  int width,
  int height
)
Description [src]
Calculates the rowstride that an image created with those values would have.
This function is useful for front-ends and backends that want to check
image values without needing to create a GdkPixbuf.
Available since: 2.36.8
Parameters
- colorspace
- 
            Type: GdkColorspaceColor space for image. 
- has_alpha
- 
            Type: gbooleanWhether the image should have transparency information. 
- bits_per_sample
- 
            Type: intNumber of bits per color sample. 
- width
- 
            Type: intWidth of image in pixels, must be > 0. 
- height
- 
            Type: intHeight of image in pixels, must be > 0.