PdfSurface

class PdfSurface : Surface

Uses a PDF as the destination for the 2D (two dimensional) graphics.

class PdfSurface : Surface
class PdfSurface : Surface

Types

Companion
Link copied to clipboard
common
object Companion

Functions

changeSize
Link copied to clipboard
common
fun changeSize(width: Double, height: Double)
Changes the size of a PdfSurface for the current (and subsequent) pages.
fun changeSize(width: Double, height: Double)
fun changeSize(width: Double, height: Double)
close
Link copied to clipboard
open override fun close()
open override fun close()
abstract fun close()
restrictToVersion
Link copied to clipboard
linuxArm32
fun restrictToVersion(version: _cairo_pdf_version)
Restricts the generated PDF file to version.
linuxX64
fun restrictToVersion(version: _cairo_pdf_version)
Restricts the generated PDF file to version.

Properties

isClosed
Link copied to clipboard
common
abstract val isClosed: Boolean
isClosed
Link copied to clipboard
linuxArm32
open override val isClosed: Boolean
isClosed
Link copied to clipboard
linuxX64
open override val isClosed: Boolean
surfacePtr
Link copied to clipboard
linuxArm32
open override val surfacePtr: CPointer<cairo_surface_t>?
surfacePtr
Link copied to clipboard
linuxX64
open override val surfacePtr: CPointer<cairo_surface_t>?