cairo

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Zlib Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(sfc samure.LayerSurface) *cairo.Context

func GetSurface

func GetSurface(sfc samure.LayerSurface) *cairo.Surface

Types

type Backend

type Backend struct {
	Handle *C.struct_samure_backend_cairo
}

func (*Backend) AssociateLayerSurface

func (c *Backend) AssociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface) uint64

func (*Backend) Destroy

func (c *Backend) Destroy(ctx samure.Context)

func (*Backend) Init

func (c *Backend) Init(ctx samure.Context) error

func (*Backend) OnLayerSurfaceConfigure

func (c *Backend) OnLayerSurfaceConfigure(ctx samure.Context, layerSurface samure.LayerSurface, width, height int)

func (*Backend) RenderEnd

func (c *Backend) RenderEnd(ctx samure.Context, layerSurface samure.LayerSurface)

func (*Backend) RenderStart

func (c *Backend) RenderStart(ctx samure.Context, layerSurface samure.LayerSurface)

func (*Backend) UnassociateLayerSurface

func (c *Backend) UnassociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL