API Reference Document
« CairoImageSurface::getWidth
CairoPdfSurface::__construct »
PHP Manual
Cairo
The CairoPdfSurface class
The CairoPdfSurface class
(PECL cairo >= 0.1.0)
简介
类摘要
CairoPdfSurface
extends
CairoSurface
{
/* 方法 */
public
__construct
(
string
$file
,
float
$width
,
float
$height
)
public
setSize
(
float
$width
,
float
$height
) :
void
/* 继承的方法 */
public
CairoSurface::__construct
(
void
)
public
CairoSurface::copyPage
(
void
) :
void
public
CairoSurface::createSimilar
(
CairoSurface
$other
,
int
$content
,
string
$width
,
string
$height
) :
void
public
CairoSurface::finish
(
void
) :
void
public
CairoSurface::flush
(
void
) :
void
public
CairoSurface::getContent
(
void
) :
int
public
CairoSurface::getDeviceOffset
(
void
) :
array
public
CairoSurface::getFontOptions
(
void
) :
void
public
CairoSurface::getType
(
void
) :
int
public
CairoSurface::markDirty
(
void
) :
void
public
CairoSurface::markDirtyRectangle
(
float
$x
,
float
$y
,
float
$width
,
float
$height
) :
void
public
CairoSurface::setDeviceOffset
(
float
$x
,
float
$y
) :
void
public
CairoSurface::setFallbackResolution
(
float
$x
,
float
$y
) :
void
public
CairoSurface::showPage
(
void
) :
void
public
CairoSurface::status
(
void
) :
int
public
CairoSurface::writeToPng
(
string
$file
) :
void
}
Table of Contents
CairoPdfSurface::__construct
— The __construct purpose
CairoPdfSurface::setSize
— The setSize purpose