CairoFormat::strideForWidth
Provides an appropiate stride to use
&reftitle.description;
public static intCairoFormat::strideForWidth
intformat
intwidth
This method provides a stride value that will respect all alignment requirements of the
accelerated image-rendering code within cairo.
&reftitle.parameters;
format
The desired CairoFormat to use
width
The width of the image
&reftitle.returnvalues;
The appropriate stride to use given the desired format and width,
or -1 if either the format is invalid or the width too large.
&reftitle.examples;
CairoFormat::strideForWidth example
]]>
&example.outputs.similar;
&reftitle.seealso;
Classname::Method