vipscontext

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Defer

func Defer(ctx context.Context, cb func())

Defer context add func for callback tracking for callback gc

func Done

func Done(ctx context.Context)

Done closes all image refs that are being tracked through the context

func GetPageN

func GetPageN(ctx context.Context) int

func IsAnimated

func IsAnimated(ctx context.Context) bool

func IsRotate90

func IsRotate90(ctx context.Context) bool

func SetPageN

func SetPageN(ctx context.Context, n int)

func SetRotate90

func SetRotate90(ctx context.Context)

func WithContext

func WithContext(ctx context.Context, cnt int) context.Context

WithContext with callback tracking

Types

This section is empty.

Jump to

Keyboard shortcuts

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