Documentation ¶
Index ¶
- func Get(sfc samure.LayerSurface) *cairo.Context
- func GetSurface(sfc samure.LayerSurface) *cairo.Surface
- type Backend
- func (c *Backend) AssociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface) uint64
- func (c *Backend) Destroy(ctx samure.Context)
- func (c *Backend) Init(ctx samure.Context) error
- func (c *Backend) OnLayerSurfaceConfigure(ctx samure.Context, layerSurface samure.LayerSurface, width, height int)
- func (c *Backend) RenderEnd(ctx samure.Context, layerSurface samure.LayerSurface)
- func (c *Backend) RenderStart(ctx samure.Context, layerSurface samure.LayerSurface)
- func (c *Backend) UnassociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*Backend) OnLayerSurfaceConfigure ¶
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)
Click to show internal directories.
Click to hide internal directories.