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