CairoFormat::strideForWidthProvides an appropiate stride to use Beschreibung
public static int CairoFormat::strideForWidth
( int
$format
, int $width
)This method provides a stride value that will respect all alignment requirements of the accelerated image-rendering code within cairo. Parameter-Liste
RückgabewerteThe appropriate stride to use given the desired format and width, or -1 if either the format is invalid or the width too large. Beispiele
Beispiel #1 CairoFormat::strideForWidth example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: ... Siehe auch
|