CAIRO_STATUS_TO_STRING(3) 1 CAIRO_STATUS_TO_STRING(3)Cairo::statusToString - Retrieves the current status as string
Object oriented style (method):
SYNOPSIS
publicstatic string Cairo::statusToString (int $status)
DESCRIPTION
Procedural style:
string cairo_status_to_string (int $status)
Retrieves the current status as a readable string
PARAMETERS
o $status
- A valid status code given by cairo_status(3) or CairoContext::status
RETURN VALUES
A string containing the current status of a CairoContext object
EXAMPLES
Example #1
Object oriented style
<?php
$surface = new CairoImageSurface(CairoFormat::ARGB32, 50, 50);
$context = new CairoContext($surface);
var_dump(Cairo::statusToString($context->status()));
?>
The above example will output something similar to:
string(7) "success"
Example #2
Procedural style
<?php
$surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 50, 50);
$context = cairo_create($surface);
var_dump(cairo_status_to_string(cairo_status($context)));
?>
The above example will output something similar to:
string(7) "success"
SEE ALSO
CairoContext::status.
PHP Documentation Group CAIRO_STATUS_TO_STRING(3)
Check Out this Related Man Page
CAIRO_APPEND_PATH(3) 1 CAIRO_APPEND_PATH(3)CairoContext::appendPath - Appends a path to current path
Object oriented style (method):
SYNOPSIS
public void CairoContext::appendPath (CairoPath $path)
DESCRIPTION
Procedural style:
void cairo_append_path (CairoContext $context, CairoPath $path)
Appends the $path onto the current path. The $path may be either the return value from one of CairoContext::copyPath or CairoCon-
text::copyPathFlat;
if $path is not a valid CairoPath instance a CairoException will be thrown
PARAMETERS
o $context
- CairoContext object
o $path
- CairoPath object
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
Object oriented style
<?php
$surface = new CairoImageSurface(CairoFormat::ARGB32, 50, 50);
$context = new CairoContext($surface);
$path = $context->copyPath();
$context->appendPath($path);
?>
Example #2
Procedural style
<?php
$surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 50, 50);
$context = cairo_create($surface);
$path = cairo_copy_path($context);
cairo_append_path($context, $path);
?>
SEE ALSO
CairoPath, CairoContext::copyPath, CairoContext::copyPathFlat.
PHP Documentation Group CAIRO_APPEND_PATH(3)
I was wondering if anyone knows of any dashboard style tools for AIX. One of my many responsibilities is to report the status of the boxes and whether certain things are "up" and running each and every day. Nonetheless, this is a MAJOR pain as I have to logon to each box, pull up URLs through my... (3 Replies)