PHP Doku:: Creates a new identity matrix - cairomatrix.initidentity.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungCairoThe CairoMatrix classCairoMatrix::initIdentity -- cairo_matrix_init_identity

Ein Service von Reinhard Neidl - Webprogrammierung.

The CairoMatrix class

<<CairoMatrix::__construct -- cairo_matrix_init

CairoMatrix::initRotate -- cairo_matrix_init_rotate>>

CairoMatrix::initIdentity

cairo_matrix_init_identity

(PECL cairo >= 0.1.0)

CairoMatrix::initIdentity -- cairo_matrix_init_identityCreates a new identity matrix

Beschreibung

Object oriented style (method):

public static void CairoMatrix::initIdentity ( void )

Procedural style:

object cairo_matrix_init_identity ( void )

Creates a new matrix that is an identity transformation. An identity transformation means the source data is copied into the destination data without change

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.

Beispiele

Beispiel #1 Object oriented style

<?php
/* Create a new Matrix */
$matrix CairoMatrix::initIdentity();
?>

Beispiel #2 Procedural style

<?php
/* Create a new Matrix */
$matrix cairo_matrix_init_identity();
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)