略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoSurface

2024-12-26

The CairoSurface class

(PECL cairo >= 0.1.0)

简介

This is the base-class for all other Surface types. CairoSurface is the abstract type representing all different drawing targets that cairo can render to. The actual drawings are performed using a CairoContext.

类摘要

CairoSurface {
/* 方法 */
public __construct ( void )
public copyPage ( void ) : void
public createSimilar ( CairoSurface $other , int $content , string $width , string $height ) : void
public finish ( void ) : void
public flush ( void ) : void
public getContent ( void ) : int
public getDeviceOffset ( void ) : array
public getFontOptions ( void ) : void
public getType ( void ) : int
public markDirty ( void ) : void
public markDirtyRectangle ( float $x , float $y , float $width , float $height ) : void
public setDeviceOffset ( float $x , float $y ) : void
public setFallbackResolution ( float $x , float $y ) : void
public showPage ( void ) : void
public status ( void ) : int
public writeToPng ( string $file ) : void
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.cairosurface.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3