wasm

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindRecord

func BindRecord(ctx context.Context, _arg0 any, _arg1 string, _arg2 uint, _arg3 int) (any, error)

func Canon

func Canon(ctx context.Context, _arg0 string, _arg1 int) (string, error)

func CanonStr

func CanonStr(ctx context.Context, _arg0 string) (string, error)

func CopyAttr

func CopyAttr(ctx context.Context, _arg0 any, _arg1 any) (int, error)

func DeleteRecord

func DeleteRecord(ctx context.Context, _arg0 any, _arg1 string) (int, error)

func Error

func Error(ctx context.Context, _arg0 ErrorLevel, _arg1 string) (int, error)

func ErrorNum

func ErrorNum(ctx context.Context) (int, error)

func Errorf

func Errorf(ctx context.Context, _arg0 string) error

func FileSystem added in v0.2.3

func FileSystem() fs.FS

func FreeRenderData

func FreeRenderData(ctx context.Context, _arg0 string) error

func GetStr

func GetStr(ctx context.Context, _arg0 any, _arg1 string) (string, error)

func GetSymName

func GetSymName(ctx context.Context, _arg0 any, _arg1 *Sym) (string, error)

func GraphNameOf

func GraphNameOf(ctx context.Context, _arg0 any) (string, error)

func HtmlStr

func HtmlStr(ctx context.Context, _arg0 string) (bool, error)

func IsDirected

func IsDirected(ctx context.Context, _arg0 *Graph) (int, error)

func IsStrict

func IsStrict(ctx context.Context, _arg0 *Graph) (int, error)

func IsUndirected

func IsUndirected(ctx context.Context, _arg0 *Graph) (int, error)

func LastError

func LastError(ctx context.Context) (string, error)

func ObjectKind

func ObjectKind(ctx context.Context, _arg0 any) (int, error)

func PopDisc

func PopDisc(ctx context.Context, _arg0 *Graph, _arg1 *ClientEventCallback) (int, error)

func PushDisc

func PushDisc(ctx context.Context, _arg0 *Graph, _arg1 *ClientEventCallback, _arg2 any) error

func Readline

func Readline(ctx context.Context, _arg0 int) error

func Register_ClientEventCallback_ObjectFunc

func Register_ClientEventCallback_ObjectFunc(fn func(*Graph, *Object, any) (uint64, error))

func Register_ClientEventCallback_ObjectUpdateFunc

func Register_ClientEventCallback_ObjectUpdateFunc(fn func(*Graph, *Object, any, *Sym) (uint64, error))

func Register_DeviceCallbacks_ButtonPress

func Register_DeviceCallbacks_ButtonPress(fn func(*Job, int, *PointFloat) (uint64, error))

func Register_DeviceCallbacks_ButtonRelease

func Register_DeviceCallbacks_ButtonRelease(fn func(*Job, int, *PointFloat) (uint64, error))

func Register_DeviceCallbacks_Delete

func Register_DeviceCallbacks_Delete(fn func(*Job) (uint64, error))

func Register_DeviceCallbacks_Layout

func Register_DeviceCallbacks_Layout(fn func(*Job, string) (uint64, error))

func Register_DeviceCallbacks_Modify

func Register_DeviceCallbacks_Modify(fn func(*Job, string, string) (uint64, error))

func Register_DeviceCallbacks_Motion

func Register_DeviceCallbacks_Motion(fn func(*Job, *PointFloat) (uint64, error))

func Register_DeviceCallbacks_Read

func Register_DeviceCallbacks_Read(fn func(*Job, string, string) (uint64, error))

func Register_DeviceCallbacks_Refresh

func Register_DeviceCallbacks_Refresh(fn func(*Job) (uint64, error))

func Register_DeviceCallbacks_Render

func Register_DeviceCallbacks_Render(fn func(*Job, string, string) (uint64, error))

func Register_DeviceEngine_Finalize

func Register_DeviceEngine_Finalize(fn func(*Job) (uint64, error))

func Register_DeviceEngine_Format

func Register_DeviceEngine_Format(fn func(*Job) (uint64, error))

func Register_DeviceEngine_Initialize

func Register_DeviceEngine_Initialize(fn func(*Job) (uint64, error))

func Register_DictCompare

func Register_DictCompare(fn func(any, any) (uint64, error))

func Register_DictFree

func Register_DictFree(fn func(any) (uint64, error))

func Register_DictMake

func Register_DictMake(fn func(any, *DictDisc) (uint64, error))

func Register_DictMemory

func Register_DictMemory(fn func(*Dict, any, uint32, *DictDisc) (uint64, error))

func Register_DictSearch

func Register_DictSearch(fn func(*Dict, any, int) (uint64, error))

func Register_DictWalk

func Register_DictWalk(fn func(any, any) (uint64, error))

func Register_IDAllocator_Alloc

func Register_IDAllocator_Alloc(fn func(any, int, uint64) (uint64, error))

func Register_IDAllocator_Close

func Register_IDAllocator_Close(fn func(any) (uint64, error))

func Register_IDAllocator_Free

func Register_IDAllocator_Free(fn func(any, int, uint64) (uint64, error))

func Register_IDAllocator_IdRegister

func Register_IDAllocator_IdRegister(fn func(any, int, any) (uint64, error))

func Register_IDAllocator_Map

func Register_IDAllocator_Map(fn func(any, int, string, *uint64, int) (uint64, error))

func Register_IDAllocator_Open

func Register_IDAllocator_Open(fn func(*Graph, *ClientDiscipline) (uint64, error))

func Register_IDAllocator_Print

func Register_IDAllocator_Print(fn func(any, int, uint64) (uint64, error))

func Register_IOService_Afread

func Register_IOService_Afread(fn func(any, string, int) (uint64, error))

func Register_IOService_Flush

func Register_IOService_Flush(fn func(any) (uint64, error))

func Register_IOService_Putstr

func Register_IOService_Putstr(fn func(any, string) (uint64, error))

func Register_LayoutEngine_Cleanup

func Register_LayoutEngine_Cleanup(fn func(*Graph) (uint64, error))

func Register_LayoutEngine_Layout

func Register_LayoutEngine_Layout(fn func(*Graph) (uint64, error))

func Register_LoadImageEngine_LoadImage

func Register_LoadImageEngine_LoadImage(fn func(*Job, *UserShape, *BoxFloat, bool) (uint64, error))

func Register_RenderEngine_BeginAnchor

func Register_RenderEngine_BeginAnchor(fn func(*Job, string, string, string, string) (uint64, error))

func Register_RenderEngine_BeginCluster

func Register_RenderEngine_BeginCluster(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginEdge

func Register_RenderEngine_BeginEdge(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginEdges

func Register_RenderEngine_BeginEdges(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginGraph

func Register_RenderEngine_BeginGraph(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginJob

func Register_RenderEngine_BeginJob(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginLabel

func Register_RenderEngine_BeginLabel(fn func(*Job, LabelType) (uint64, error))

func Register_RenderEngine_BeginLayer

func Register_RenderEngine_BeginLayer(fn func(*Job, string, int, int) (uint64, error))

func Register_RenderEngine_BeginNode

func Register_RenderEngine_BeginNode(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginNodes

func Register_RenderEngine_BeginNodes(fn func(*Job) (uint64, error))

func Register_RenderEngine_BeginPage

func Register_RenderEngine_BeginPage(fn func(*Job) (uint64, error))

func Register_RenderEngine_Beziercurve

func Register_RenderEngine_Beziercurve(fn func(*Job, []*PointFloat, uint32, int) (uint64, error))

func Register_RenderEngine_Comment

func Register_RenderEngine_Comment(fn func(*Job, string) (uint64, error))

func Register_RenderEngine_Ellipse

func Register_RenderEngine_Ellipse(fn func(*Job, []*PointFloat, int) (uint64, error))

func Register_RenderEngine_EndAnchor

func Register_RenderEngine_EndAnchor(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndCluster

func Register_RenderEngine_EndCluster(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndEdge

func Register_RenderEngine_EndEdge(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndEdges

func Register_RenderEngine_EndEdges(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndGraph

func Register_RenderEngine_EndGraph(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndJob

func Register_RenderEngine_EndJob(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndLabel

func Register_RenderEngine_EndLabel(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndLayer

func Register_RenderEngine_EndLayer(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndNode

func Register_RenderEngine_EndNode(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndNodes

func Register_RenderEngine_EndNodes(fn func(*Job) (uint64, error))

func Register_RenderEngine_EndPage

func Register_RenderEngine_EndPage(fn func(*Job) (uint64, error))

func Register_RenderEngine_LibraryShape

func Register_RenderEngine_LibraryShape(fn func(*Job, string, []*PointFloat, uint32, int) (uint64, error))

func Register_RenderEngine_Polygon

func Register_RenderEngine_Polygon(fn func(*Job, []*PointFloat, uint32, int) (uint64, error))

func Register_RenderEngine_Polyline

func Register_RenderEngine_Polyline(fn func(*Job, []*PointFloat, uint32) (uint64, error))

func Register_RenderEngine_ResolveColor

func Register_RenderEngine_ResolveColor(fn func(*Job, *Color) (uint64, error))

func Register_RenderEngine_Textspan

func Register_RenderEngine_Textspan(fn func(*Job, *PointFloat, *Textspan) (uint64, error))

func Register_TextLayoutEngine_TextLayout

func Register_TextLayoutEngine_TextLayout(fn func(*Textspan, []string) (uint64, error))

func Register_UserRef

func Register_UserRef(fn func(string) (uint64, error))

func Register_UserShape_DataFree

func Register_UserShape_DataFree(fn func(*UserShape) (uint64, error))

func ResetErrors

func ResetErrors(ctx context.Context) (int, error)

func SafeSetStr

func SafeSetStr(ctx context.Context, _arg0 any, _arg1 string, _arg2 string, _arg3 string) (int, error)

func SetErrorf

func SetErrorf(ctx context.Context, _arg0 *CallbackFunc[func(context.Context, string) (int, error)]) error

func SetFile

func SetFile(ctx context.Context, _arg0 string) error

func SetStr

func SetStr(ctx context.Context, _arg0 any, _arg1 string, _arg2 string) (int, error)

func SetSymName

func SetSymName(ctx context.Context, _arg0 any, _arg1 *Sym, _arg2 string) (int, error)

func SetWasmFileSystem added in v0.2.3

func SetWasmFileSystem(fs fs.FS)

func StrCanon

func StrCanon(ctx context.Context, _arg0 string, _arg1 string) (string, error)

func StrHash

func StrHash(ctx context.Context, _arg0 any, _arg1 int) (uint, error)

func Toggle

func Toggle(ctx context.Context, _arg0 int) error

func Warningf

func Warningf(ctx context.Context, _arg0 string) error

func WasmPtr

func WasmPtr(v wasmStruct) uint64

func Write

func Write(ctx context.Context, _arg0 *Graph, _arg1 any) (int, error)

Types

type API

type API int
var (
	API_RENDER     API = 0
	API_LAYOUT     API = 1
	API_TEXTLAYOUT API = 2
	API_DEVICE     API = 3
	API_LOADIMAGE  API = 4
)

func (API) String

func (v API) String() string

type Attr

type Attr struct {
	// contains filtered or unexported fields
}

func NewAttr

func NewAttr(ctx context.Context) (*Attr, error)

func (*Attr) GetDict

func (v *Attr) GetDict() *Dict

func (*Attr) GetH

func (v *Attr) GetH() *Record

func (*Attr) GetStr

func (v *Attr) GetStr() []string

func (*Attr) SetDict

func (v *Attr) SetDict(_arg *Dict) error

func (*Attr) SetH

func (v *Attr) SetH(_arg *Record) error

func (*Attr) SetStr

func (v *Attr) SetStr(_arg []string) error

type Box

type Box struct {
	// contains filtered or unexported fields
}

func NewBox

func NewBox(ctx context.Context) (*Box, error)

func (*Box) GetLl

func (v *Box) GetLl() *Point

func (*Box) GetUr

func (v *Box) GetUr() *Point

func (*Box) SetLl

func (v *Box) SetLl(_arg *Point) error

func (*Box) SetUr

func (v *Box) SetUr(_arg *Point) error

type BoxFloat

type BoxFloat struct {
	// contains filtered or unexported fields
}

func NewBoxFloat

func NewBoxFloat(ctx context.Context) (*BoxFloat, error)

func (*BoxFloat) GetLl

func (v *BoxFloat) GetLl() *PointFloat

func (*BoxFloat) GetUr

func (v *BoxFloat) GetUr() *PointFloat

func (*BoxFloat) SetLl

func (v *BoxFloat) SetLl(_arg *PointFloat) error

func (*BoxFloat) SetUr

func (v *BoxFloat) SetUr(_arg *PointFloat) error

type CallbackFunc

type CallbackFunc[T any] struct {
	// contains filtered or unexported fields
}

func CreateCallbackFunc

func CreateCallbackFunc[T any](cb T, funcID uint64) *CallbackFunc[T]

type CallbackFuncMap

type CallbackFuncMap struct {
	IDAllocator_Open                     map[uint64]func(context.Context, *Graph, *ClientDiscipline) (any, error)
	IDAllocator_Map                      map[uint64]func(context.Context, any, int, string, *uint64, int) (int32, error)
	IDAllocator_Alloc                    map[uint64]func(context.Context, any, int, uint64) (int32, error)
	IDAllocator_Free                     map[uint64]func(context.Context, any, int, uint64) error
	IDAllocator_Print                    map[uint64]func(context.Context, any, int, uint64) (string, error)
	IDAllocator_Close                    map[uint64]func(context.Context, any) error
	IDAllocator_IdRegister               map[uint64]func(context.Context, any, int, any) error
	IOService_Afread                     map[uint64]func(context.Context, any, string, int) (int, error)
	IOService_Putstr                     map[uint64]func(context.Context, any, string) (int, error)
	IOService_Flush                      map[uint64]func(context.Context, any) (int, error)
	ClientEventCallback_ObjectFunc       map[uint64]func(context.Context, *Graph, *Object, any) error
	ClientEventCallback_ObjectUpdateFunc map[uint64]func(context.Context, *Graph, *Object, any, *Sym) error
	UserRef                              map[uint64]func(context.Context, string) (int, error)
	DictMemory                           map[uint64]func(context.Context, *Dict, any, uint32, *DictDisc) (any, error)
	DictSearch                           map[uint64]func(context.Context, *Dict, any, int) (any, error)
	DictMake                             map[uint64]func(context.Context, any, *DictDisc) (any, error)
	DictFree                             map[uint64]func(context.Context, any) error
	DictCompare                          map[uint64]func(context.Context, any, any) (int, error)
	DictWalk                             map[uint64]func(context.Context, any, any) (int, error)
	UserShape_DataFree                   map[uint64]func(context.Context, *UserShape) error
	DeviceCallbacks_Refresh              map[uint64]func(context.Context, *Job) error
	DeviceCallbacks_ButtonPress          map[uint64]func(context.Context, *Job, int, *PointFloat) error
	DeviceCallbacks_ButtonRelease        map[uint64]func(context.Context, *Job, int, *PointFloat) error
	DeviceCallbacks_Motion               map[uint64]func(context.Context, *Job, *PointFloat) error
	DeviceCallbacks_Modify               map[uint64]func(context.Context, *Job, string, string) error
	DeviceCallbacks_Delete               map[uint64]func(context.Context, *Job) error
	DeviceCallbacks_Read                 map[uint64]func(context.Context, *Job, string, string) error
	DeviceCallbacks_Layout               map[uint64]func(context.Context, *Job, string) error
	DeviceCallbacks_Render               map[uint64]func(context.Context, *Job, string, string) error
	DeviceEngine_Initialize              map[uint64]func(context.Context, *Job) error
	DeviceEngine_Format                  map[uint64]func(context.Context, *Job) error
	DeviceEngine_Finalize                map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginJob                map[uint64]func(context.Context, *Job) error
	RenderEngine_EndJob                  map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginGraph              map[uint64]func(context.Context, *Job) error
	RenderEngine_EndGraph                map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginLayer              map[uint64]func(context.Context, *Job, string, int, int) error
	RenderEngine_EndLayer                map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginPage               map[uint64]func(context.Context, *Job) error
	RenderEngine_EndPage                 map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginCluster            map[uint64]func(context.Context, *Job) error
	RenderEngine_EndCluster              map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginNodes              map[uint64]func(context.Context, *Job) error
	RenderEngine_EndNodes                map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginEdges              map[uint64]func(context.Context, *Job) error
	RenderEngine_EndEdges                map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginNode               map[uint64]func(context.Context, *Job) error
	RenderEngine_EndNode                 map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginEdge               map[uint64]func(context.Context, *Job) error
	RenderEngine_EndEdge                 map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginAnchor             map[uint64]func(context.Context, *Job, string, string, string, string) error
	RenderEngine_EndAnchor               map[uint64]func(context.Context, *Job) error
	RenderEngine_BeginLabel              map[uint64]func(context.Context, *Job, LabelType) error
	RenderEngine_EndLabel                map[uint64]func(context.Context, *Job) error
	RenderEngine_Textspan                map[uint64]func(context.Context, *Job, *PointFloat, *Textspan) error
	RenderEngine_ResolveColor            map[uint64]func(context.Context, *Job, *Color) error
	RenderEngine_Ellipse                 map[uint64]func(context.Context, *Job, []*PointFloat, int) error
	RenderEngine_Polygon                 map[uint64]func(context.Context, *Job, []*PointFloat, uint32, int) error
	RenderEngine_Beziercurve             map[uint64]func(context.Context, *Job, []*PointFloat, uint32, int) error
	RenderEngine_Polyline                map[uint64]func(context.Context, *Job, []*PointFloat, uint32) error
	RenderEngine_Comment                 map[uint64]func(context.Context, *Job, string) error
	RenderEngine_LibraryShape            map[uint64]func(context.Context, *Job, string, []*PointFloat, uint32, int) error
	LayoutEngine_Layout                  map[uint64]func(context.Context, *Graph) error
	LayoutEngine_Cleanup                 map[uint64]func(context.Context, *Graph) error
	TextLayoutEngine_TextLayout          map[uint64]func(context.Context, *Textspan, []string) (bool, error)
	LoadImageEngine_LoadImage            map[uint64]func(context.Context, *Job, *UserShape, *BoxFloat, bool) error
}

type CallbackStack

type CallbackStack struct {
	// contains filtered or unexported fields
}

func NewCallbackStack

func NewCallbackStack(ctx context.Context) (*CallbackStack, error)

func (*CallbackStack) GetF

func (*CallbackStack) GetPrev

func (v *CallbackStack) GetPrev() *CallbackStack

func (*CallbackStack) GetState

func (v *CallbackStack) GetState() any

func (*CallbackStack) SetF

func (v *CallbackStack) SetF(_arg *ClientEventCallback) error

func (*CallbackStack) SetPrev

func (v *CallbackStack) SetPrev(_arg *CallbackStack) error

func (*CallbackStack) SetState

func (v *CallbackStack) SetState(_arg any) error

type ClientDiscipline

type ClientDiscipline struct {
	// contains filtered or unexported fields
}

func NewClientDiscipline

func NewClientDiscipline(ctx context.Context) (*ClientDiscipline, error)

func (*ClientDiscipline) GetId

func (v *ClientDiscipline) GetId() *IDAllocator

func (*ClientDiscipline) GetIo

func (v *ClientDiscipline) GetIo() *IOService

func (*ClientDiscipline) SetId

func (v *ClientDiscipline) SetId(_arg *IDAllocator) error

func (*ClientDiscipline) SetIo

func (v *ClientDiscipline) SetIo(_arg *IOService) error

type ClientEventCallback

type ClientEventCallback struct {
	// contains filtered or unexported fields
}

func NewClientEventCallback

func NewClientEventCallback(ctx context.Context) (*ClientEventCallback, error)

type Color

type Color struct {
	// contains filtered or unexported fields
}

func NewColor

func NewColor(ctx context.Context) (*Color, error)

func (*Color) GetHsva

func (v *Color) GetHsva() []float64

func (*Color) GetIndex

func (v *Color) GetIndex() int64

func (*Color) GetRgbaDouble

func (v *Color) GetRgbaDouble() []float64

func (*Color) GetRgbaInt

func (v *Color) GetRgbaInt() []int

func (*Color) GetRgbaUint

func (v *Color) GetRgbaUint() []uint

func (*Color) GetString

func (v *Color) GetString() string

func (*Color) GetType

func (v *Color) GetType() ColorType

func (*Color) SetHsva

func (v *Color) SetHsva(_arg []float64) error

func (*Color) SetIndex

func (v *Color) SetIndex(_arg int64) error

func (*Color) SetRgbaDouble

func (v *Color) SetRgbaDouble(_arg []float64) error

func (*Color) SetRgbaInt

func (v *Color) SetRgbaInt(_arg []int) error

func (*Color) SetRgbaUint

func (v *Color) SetRgbaUint(_arg []uint) error

func (*Color) SetString

func (v *Color) SetString(_arg string) error

func (*Color) SetType

func (v *Color) SetType(_arg ColorType) error

type ColorType

type ColorType int
var (
	HSVA_DOUBLE  ColorType = 0
	RGBA_BYTE    ColorType = 1
	RGBA_WORD    ColorType = 2
	RGBA_DOUBLE  ColorType = 3
	COLOR_STRING ColorType = 4
	COLOR_INDEX  ColorType = 5
)

func (ColorType) String

func (v ColorType) String() string

type Common

type Common struct {
	// contains filtered or unexported fields
}

func NewCommon

func NewCommon(ctx context.Context) (*Common, error)

func (*Common) GetAutoOutfileNames

func (v *Common) GetAutoOutfileNames() bool

func (*Common) GetBuiltins

func (v *Common) GetBuiltins() *SymList

func (*Common) GetCmdname

func (v *Common) GetCmdname() string

func (*Common) GetConfig

func (v *Common) GetConfig() bool

func (*Common) GetDemandLoading

func (v *Common) GetDemandLoading() int64

func (*Common) GetInfo

func (v *Common) GetInfo() []string

func (*Common) GetLib

func (v *Common) GetLib() []string

func (*Common) GetShowBoxes

func (v *Common) GetShowBoxes() []string

func (*Common) GetVerbose

func (v *Common) GetVerbose() int64

func (*Common) GetViewNum

func (v *Common) GetViewNum() int64

func (*Common) SetAutoOutfileNames

func (v *Common) SetAutoOutfileNames(_arg bool) error

func (*Common) SetBuiltins

func (v *Common) SetBuiltins(_arg *SymList) error

func (*Common) SetCmdname

func (v *Common) SetCmdname(_arg string) error

func (*Common) SetConfig

func (v *Common) SetConfig(_arg bool) error

func (*Common) SetDemandLoading

func (v *Common) SetDemandLoading(_arg int64) error

func (*Common) SetInfo

func (v *Common) SetInfo(_arg []string) error

func (*Common) SetLib

func (v *Common) SetLib(_arg []string) error

func (*Common) SetShowBoxes

func (v *Common) SetShowBoxes(_arg []string) error

func (*Common) SetVerbose

func (v *Common) SetVerbose(_arg int64) error

func (*Common) SetViewNum

func (v *Common) SetViewNum(_arg int64) error

type CommonFields

type CommonFields struct {
	// contains filtered or unexported fields
}

func NewCommonFields

func NewCommonFields(ctx context.Context) (*CommonFields, error)

func (*CommonFields) GetCb

func (v *CommonFields) GetCb() *CallbackStack

func (*CommonFields) GetDisc

func (v *CommonFields) GetDisc() *ClientDiscipline

func (*CommonFields) GetLookupById

func (v *CommonFields) GetLookupById() []*Dict

func (*CommonFields) GetLookupByName

func (v *CommonFields) GetLookupByName() []*Dict

func (*CommonFields) GetSeq

func (v *CommonFields) GetSeq() []uint64

func (*CommonFields) GetState

func (v *CommonFields) GetState() *State

func (*CommonFields) GetStrdict

func (v *CommonFields) GetStrdict() *Dict

func (*CommonFields) SetCb

func (v *CommonFields) SetCb(_arg *CallbackStack) error

func (*CommonFields) SetDisc

func (v *CommonFields) SetDisc(_arg *ClientDiscipline) error

func (*CommonFields) SetLookupById

func (v *CommonFields) SetLookupById(_arg []*Dict) error

func (*CommonFields) SetLookupByName

func (v *CommonFields) SetLookupByName(_arg []*Dict) error

func (*CommonFields) SetSeq

func (v *CommonFields) SetSeq(_arg []uint64) error

func (*CommonFields) SetState

func (v *CommonFields) SetState(_arg *State) error

func (*CommonFields) SetStrdict

func (v *CommonFields) SetStrdict(_arg *Dict) error

type Context

type Context struct {
	// contains filtered or unexported fields
}

func GetContext

func GetContext(ctx context.Context) (*Context, error)

func GetContextWithPlugins

func GetContextWithPlugins(ctx context.Context, _arg0 []*SymList, _arg1 int) (*Context, error)

func NewContext

func NewContext(ctx context.Context) (*Context, error)

func NewContextWithSymList

func NewContextWithSymList(ctx context.Context, _arg0 []*SymList, _arg1 int) (*Context, error)

func (*Context) AddLibrary

func (v *Context) AddLibrary(ctx context.Context, _arg0 *PluginLibrary) error

func (*Context) BuildDate

func (v *Context) BuildDate(ctx context.Context) (string, error)

func (*Context) Clone

func (v *Context) Clone(ctx context.Context) (*Context, error)

func (*Context) Finalize

func (v *Context) Finalize(ctx context.Context) error

func (*Context) FreeClonedContext

func (v *Context) FreeClonedContext(ctx context.Context) error

func (*Context) FreeContext

func (v *Context) FreeContext(ctx context.Context) (int, error)

func (*Context) FreeLayout

func (v *Context) FreeLayout(ctx context.Context, _arg0 *Graph) (int, error)

func (*Context) GetApi

func (v *Context) GetApi() []*PluginAvailable

func (*Context) GetApis

func (v *Context) GetApis() []*PluginAvailable

func (*Context) GetCommon

func (v *Context) GetCommon() *Common

func (*Context) GetConfigFound

func (v *Context) GetConfigFound() bool

func (*Context) GetConfigPath

func (v *Context) GetConfigPath() string

func (*Context) GetInputFilenames

func (v *Context) GetInputFilenames() []string

func (*Context) Info

func (v *Context) Info(ctx context.Context) ([]string, error)

func (*Context) Layout

func (v *Context) Layout(ctx context.Context, _arg0 *Graph, _arg1 string) (int, error)

func (*Context) LayoutJobs

func (v *Context) LayoutJobs(ctx context.Context, _arg0 *Graph) (int, error)

func (*Context) NextInputGraph

func (v *Context) NextInputGraph(ctx context.Context) (*Graph, error)

func (*Context) ParseArgs

func (v *Context) ParseArgs(ctx context.Context, _arg0 int, _arg1 []string) (int, error)

func (*Context) PluginList

func (v *Context) PluginList(ctx context.Context, _arg0 string, _arg1 *int) ([]string, error)

func (*Context) PluginsGraph

func (v *Context) PluginsGraph(ctx context.Context) (*Graph, error)

func (*Context) Render

func (v *Context) Render(ctx context.Context, _arg0 *Graph, _arg1 string, _arg2 *File) (int, error)

func (*Context) RenderContext

func (v *Context) RenderContext(ctx context.Context, _arg0 *Graph, _arg1 string, _arg2 any) (int, error)

func (*Context) RenderData

func (v *Context) RenderData(ctx context.Context, _arg0 *Graph, _arg1 string, _arg2 *string, _arg3 *uint) (int, error)

func (*Context) RenderFilename

func (v *Context) RenderFilename(ctx context.Context, _arg0 *Graph, _arg1 string, _arg2 string) (int, error)

func (*Context) RenderJobs

func (v *Context) RenderJobs(ctx context.Context, _arg0 *Graph) (int, error)

func (*Context) SetApi

func (v *Context) SetApi(_arg []*PluginAvailable) error

func (*Context) SetApis

func (v *Context) SetApis(_arg []*PluginAvailable) error

func (*Context) SetCommon

func (v *Context) SetCommon(_arg *Common) error

func (*Context) SetConfigFound

func (v *Context) SetConfigFound(_arg bool) error

func (*Context) SetConfigPath

func (v *Context) SetConfigPath(_arg string) error

func (*Context) SetInputFilenames

func (v *Context) SetInputFilenames(_arg []string) error

func (*Context) Version

func (v *Context) Version(ctx context.Context) (string, error)

type DataDict

type DataDict struct {
	// contains filtered or unexported fields
}

func NewDataDict

func NewDataDict(ctx context.Context) (*DataDict, error)

func (*DataDict) GetH

func (v *DataDict) GetH() *Record

func (*DataDict) SetH

func (v *DataDict) SetH(_arg *Record) error

type DeviceCallbacks

type DeviceCallbacks struct {
	// contains filtered or unexported fields
}

func NewDeviceCallbacks

func NewDeviceCallbacks(ctx context.Context) (*DeviceCallbacks, error)

func (*DeviceCallbacks) SetButtonPress

func (v *DeviceCallbacks) SetButtonPress(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, int, *PointFloat) error]) error

func (*DeviceCallbacks) SetButtonRelease

func (v *DeviceCallbacks) SetButtonRelease(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, int, *PointFloat) error]) error

func (*DeviceCallbacks) SetDel

func (v *DeviceCallbacks) SetDel(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*DeviceCallbacks) SetLayout

func (v *DeviceCallbacks) SetLayout(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string) error]) error

func (*DeviceCallbacks) SetModify

func (v *DeviceCallbacks) SetModify(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string, string) error]) error

func (*DeviceCallbacks) SetMotion

func (v *DeviceCallbacks) SetMotion(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, *PointFloat) error]) error

func (*DeviceCallbacks) SetRead

func (*DeviceCallbacks) SetRefresh

func (v *DeviceCallbacks) SetRefresh(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*DeviceCallbacks) SetRender

func (v *DeviceCallbacks) SetRender(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string, string) error]) error

type DeviceEngine

type DeviceEngine struct {
	// contains filtered or unexported fields
}

func NewDeviceEngine

func NewDeviceEngine(ctx context.Context) (*DeviceEngine, error)

func (*DeviceEngine) SetFinalize

func (v *DeviceEngine) SetFinalize(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*DeviceEngine) SetFormat

func (v *DeviceEngine) SetFormat(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*DeviceEngine) SetInitialize

func (v *DeviceEngine) SetInitialize(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

type DeviceFeatures

type DeviceFeatures struct {
	// contains filtered or unexported fields
}

func NewDeviceFeatures

func NewDeviceFeatures(ctx context.Context) (*DeviceFeatures, error)

func (*DeviceFeatures) GetDefaultDpi

func (v *DeviceFeatures) GetDefaultDpi() *PointFloat

func (*DeviceFeatures) GetDefaultMargin

func (v *DeviceFeatures) GetDefaultMargin() *PointFloat

func (*DeviceFeatures) GetDefaultPagesize

func (v *DeviceFeatures) GetDefaultPagesize() *PointFloat

func (*DeviceFeatures) GetFlags

func (v *DeviceFeatures) GetFlags() int64

func (*DeviceFeatures) SetDefaultDpi

func (v *DeviceFeatures) SetDefaultDpi(_arg *PointFloat) error

func (*DeviceFeatures) SetDefaultMargin

func (v *DeviceFeatures) SetDefaultMargin(_arg *PointFloat) error

func (*DeviceFeatures) SetDefaultPagesize

func (v *DeviceFeatures) SetDefaultPagesize(_arg *PointFloat) error

func (*DeviceFeatures) SetFlags

func (v *DeviceFeatures) SetFlags(_arg int64) error

type DeviceType

type DeviceType int
var (
	DEVICE_DOES_PAGES        DeviceType = 0
	DEVICE_DOES_LAYERS       DeviceType = 1
	DEVICE_EVENTS            DeviceType = 2
	DEVICE_DOES_TRUECOLOR    DeviceType = 3
	DEVICE_BINARY_FORMAT     DeviceType = 4
	DEVICE_COMPRESSED_FORMAT DeviceType = 5
	DEVICE_NO_WRITER         DeviceType = 6
)

func (DeviceType) String

func (v DeviceType) String() string

type Dict

type Dict struct {
	// contains filtered or unexported fields
}

func NewDict

func NewDict(ctx context.Context) (*Dict, error)

func NewDictWithDisc

func NewDictWithDisc(ctx context.Context, _arg0 *DictDisc, _arg1 *DictMethod) (*Dict, error)

func (*Dict) Close

func (v *Dict) Close(ctx context.Context) (int, error)

func (*Dict) Disc

func (v *Dict) Disc(ctx context.Context, _arg0 *DictDisc) (*DictDisc, error)

func (*Dict) Extract

func (v *Dict) Extract(ctx context.Context) (*DictLink, error)

func (*Dict) Flatten

func (v *Dict) Flatten(ctx context.Context) (*DictLink, error)

func (*Dict) GetData

func (v *Dict) GetData() *DictData

func (*Dict) GetDisc

func (v *Dict) GetDisc() *DictDisc

func (*Dict) GetMeth

func (v *Dict) GetMeth() *DictMethod

func (*Dict) GetNview

func (v *Dict) GetNview() int64

func (*Dict) GetUser

func (v *Dict) GetUser() any

func (*Dict) GetView

func (v *Dict) GetView() *Dict

func (*Dict) GetWalk

func (v *Dict) GetWalk() *Dict

func (*Dict) Method

func (v *Dict) Method(ctx context.Context, _arg0 *DictMethod) (*DictMethod, error)

func (*Dict) Renew

func (v *Dict) Renew(ctx context.Context, _arg0 any) (any, error)

func (*Dict) Restore

func (v *Dict) Restore(ctx context.Context, _arg0 *DictLink) (int, error)

func (*Dict) SetData

func (v *Dict) SetData(_arg *DictData) error

func (*Dict) SetDisc

func (v *Dict) SetDisc(_arg *DictDisc) error

func (*Dict) SetMeth

func (v *Dict) SetMeth(_arg *DictMethod) error

func (*Dict) SetNview

func (v *Dict) SetNview(_arg int64) error

func (*Dict) SetSearchf

func (v *Dict) SetSearchf(ctx context.Context, arg *CallbackFunc[func(context.Context, *Dict, any, int) (any, error)]) error

func (*Dict) SetUser

func (v *Dict) SetUser(_arg any) error

func (*Dict) SetView

func (v *Dict) SetView(_arg *Dict) error

func (*Dict) SetWalk

func (v *Dict) SetWalk(_arg *Dict) error

func (*Dict) Size

func (v *Dict) Size(ctx context.Context) (int, error)

func (*Dict) Stat

func (v *Dict) Stat(ctx context.Context, _arg0 *DictStat, _arg1 int) (int, error)

func (*Dict) View

func (v *Dict) View(ctx context.Context, _arg0 *Dict) (*Dict, error)

func (*Dict) Walk

func (v *Dict) Walk(ctx context.Context, _arg0 *CallbackFunc[func(context.Context, any, any) (int, error)], _arg1 any) (int, error)

type DictData

type DictData struct {
	// contains filtered or unexported fields
}

func NewDictData

func NewDictData(ctx context.Context) (*DictData, error)

func (*DictData) GetHead

func (v *DictData) GetHead() *DictLink

func (*DictData) GetHere

func (v *DictData) GetHere() *DictLink

func (*DictData) GetHtab

func (v *DictData) GetHtab() []*DictLink

func (*DictData) GetLoop

func (v *DictData) GetLoop() int64

func (*DictData) GetNtab

func (v *DictData) GetNtab() int64

func (*DictData) GetSize

func (v *DictData) GetSize() int64

func (*DictData) GetType

func (v *DictData) GetType() int64

func (*DictData) SetHead

func (v *DictData) SetHead(_arg *DictLink) error

func (*DictData) SetHere

func (v *DictData) SetHere(_arg *DictLink) error

func (*DictData) SetHtab

func (v *DictData) SetHtab(_arg []*DictLink) error

func (*DictData) SetLoop

func (v *DictData) SetLoop(_arg int64) error

func (*DictData) SetNtab

func (v *DictData) SetNtab(_arg int64) error

func (*DictData) SetSize

func (v *DictData) SetSize(_arg int64) error

func (*DictData) SetType

func (v *DictData) SetType(_arg int64) error

type DictDisc

type DictDisc struct {
	// contains filtered or unexported fields
}

func NewDictDisc

func NewDictDisc(ctx context.Context) (*DictDisc, error)

func (*DictDisc) GetKey

func (v *DictDisc) GetKey() int64
func (v *DictDisc) GetLink() int64

func (*DictDisc) GetSize

func (v *DictDisc) GetSize() int64

func (*DictDisc) SetComparf

func (v *DictDisc) SetComparf(ctx context.Context, arg *CallbackFunc[func(context.Context, any, any) (int, error)]) error

func (*DictDisc) SetFreef

func (v *DictDisc) SetFreef(ctx context.Context, arg *CallbackFunc[func(context.Context, any) error]) error

func (*DictDisc) SetKey

func (v *DictDisc) SetKey(_arg int64) error
func (v *DictDisc) SetLink(_arg int64) error

func (*DictDisc) SetMakef

func (v *DictDisc) SetMakef(ctx context.Context, arg *CallbackFunc[func(context.Context, any, *DictDisc) (any, error)]) error

func (*DictDisc) SetSize

func (v *DictDisc) SetSize(_arg int64) error

type DictHold

type DictHold struct {
	// contains filtered or unexported fields
}

func NewDictHold

func NewDictHold(ctx context.Context) (*DictHold, error)

func (*DictHold) GetHdr

func (v *DictHold) GetHdr() *DictLink

func (*DictHold) GetObj

func (v *DictHold) GetObj() any

func (*DictHold) SetHdr

func (v *DictHold) SetHdr(_arg *DictLink) error

func (*DictHold) SetObj

func (v *DictHold) SetObj(_arg any) error
type DictLink struct {
	// contains filtered or unexported fields
}
func NewDictLink(ctx context.Context) (*DictLink, error)

func (*DictLink) GetHash

func (v *DictLink) GetHash() uint32

func (*DictLink) GetLeft

func (v *DictLink) GetLeft() *DictLink

func (*DictLink) GetRight

func (v *DictLink) GetRight() *DictLink

func (*DictLink) SetHash

func (v *DictLink) SetHash(_arg uint32) error

func (*DictLink) SetLeft

func (v *DictLink) SetLeft(_arg *DictLink) error

func (*DictLink) SetRight

func (v *DictLink) SetRight(_arg *DictLink) error

type DictMethod

type DictMethod struct {
	// contains filtered or unexported fields
}

func NewDictMethod

func NewDictMethod(ctx context.Context) (*DictMethod, error)

func (*DictMethod) GetType

func (v *DictMethod) GetType() int64

func (*DictMethod) SetSearchf

func (v *DictMethod) SetSearchf(ctx context.Context, arg *CallbackFunc[func(context.Context, *Dict, any, int) (any, error)]) error

func (*DictMethod) SetType

func (v *DictMethod) SetType(_arg int64) error

type DictStat

type DictStat struct {
	// contains filtered or unexported fields
}

func NewDictStat

func NewDictStat(ctx context.Context) (*DictStat, error)

func (*DictStat) GetDtCount

func (v *DictStat) GetDtCount() []uint32

func (*DictStat) GetDtMax

func (v *DictStat) GetDtMax() uint64

func (*DictStat) GetDtMeth

func (v *DictStat) GetDtMeth() int64

func (*DictStat) GetDtN

func (v *DictStat) GetDtN() uint64

func (*DictStat) GetDtSize

func (v *DictStat) GetDtSize() int64

func (*DictStat) SetDtCount

func (v *DictStat) SetDtCount(_arg []uint32) error

func (*DictStat) SetDtMax

func (v *DictStat) SetDtMax(_arg uint64) error

func (*DictStat) SetDtMeth

func (v *DictStat) SetDtMeth(_arg int64) error

func (*DictStat) SetDtN

func (v *DictStat) SetDtN(_arg uint64) error

func (*DictStat) SetDtSize

func (v *DictStat) SetDtSize(_arg int64) error

type Edge

type Edge struct {
	// contains filtered or unexported fields
}

func NewEdge

func NewEdge(ctx context.Context) (*Edge, error)

func (*Edge) GetBase

func (v *Edge) GetBase() *Object
func (v *Edge) GetIdLink() *DictLink

func (*Edge) GetNode

func (v *Edge) GetNode() *Node
func (v *Edge) GetSeqLink() *DictLink

func (*Edge) Head added in v0.2.9

func (v *Edge) Head(ctx context.Context) (*Node, error)

func (*Edge) SetBase

func (v *Edge) SetBase(_arg *Object) error
func (v *Edge) SetIdLink(_arg *DictLink) error

func (*Edge) SetNode

func (v *Edge) SetNode(_arg *Node) error
func (v *Edge) SetSeqLink(_arg *DictLink) error

func (*Edge) Tail added in v0.2.9

func (v *Edge) Tail(ctx context.Context) (*Node, error)

type EdgePair

type EdgePair struct {
	// contains filtered or unexported fields
}

func NewEdgePair

func NewEdgePair(ctx context.Context) (*EdgePair, error)

func (*EdgePair) GetIn

func (v *EdgePair) GetIn() *Edge

func (*EdgePair) GetOut

func (v *EdgePair) GetOut() *Edge

func (*EdgePair) SetIn

func (v *EdgePair) SetIn(_arg *Edge) error

func (*EdgePair) SetOut

func (v *EdgePair) SetOut(_arg *Edge) error

type EmitState

type EmitState int
var (
	EMIT_GDRAW  EmitState = 0
	EMIT_CDRAW  EmitState = 1
	EMIT_TDRAW  EmitState = 2
	EMIT_HDRAW  EmitState = 3
	EMIT_GLABEL EmitState = 4
	EMIT_CLABEL EmitState = 5
	EMIT_TLABEL EmitState = 6
	EMIT_HLABEL EmitState = 7
	EMIT_NDRAW  EmitState = 8
	EMIT_EDRAW  EmitState = 9
	EMIT_NLABEL EmitState = 10
	EMIT_ELABEL EmitState = 11
)

func (EmitState) String

func (v EmitState) String() string

type EmitType

type EmitType int
var (
	EMIT_SORTED        EmitType = 0
	EMIT_COLORS        EmitType = 1
	EMIT_CLUSTERS_LAST EmitType = 2
	EMIT_PREORDER      EmitType = 3
	EMIT_EDGE_SORTED   EmitType = 4
)

func (EmitType) String

func (v EmitType) String() string

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine(ctx context.Context) (*Engine, error)

type ErrorLevel

type ErrorLevel int
var (
	WARN ErrorLevel = 0
	ERR  ErrorLevel = 1
	MAX  ErrorLevel = 2
	PREV ErrorLevel = 3
)

func SetError

func SetError(ctx context.Context, _arg0 ErrorLevel) (ErrorLevel, error)

func (ErrorLevel) String

func (v ErrorLevel) String() string

type Features

type Features struct {
	// contains filtered or unexported fields
}

func NewFeatures

func NewFeatures(ctx context.Context) (*Features, error)

type File

type File struct {
	// contains filtered or unexported fields
}

type FillType

type FillType int
var (
	FILL_NONE   FillType = 0
	FILL_SOLID  FillType = 1
	FILL_LINEAR FillType = 2
	FILL_RADIAL FillType = 3
)

func (FillType) String

func (v FillType) String() string

type FontType

type FontType int
var (
	FONT_REGULAR FontType = 0
	FONT_BOLD    FontType = 1
	FONT_ITALIC  FontType = 2
)

func (FontType) String

func (v FontType) String() string

type FormatterEngine

type FormatterEngine struct {
	// contains filtered or unexported fields
}

type Graph

type Graph struct {
	// contains filtered or unexported fields
}

func Concat

func Concat(ctx context.Context, _arg0 *Graph, _arg1 any, _arg2 *ClientDiscipline) (*Graph, error)

func GraphOf

func GraphOf(ctx context.Context, _arg0 any) (*Graph, error)

func GraphRoot

func GraphRoot(ctx context.Context, _arg0 any) (*Graph, error)

func MemRead

func MemRead(ctx context.Context, _arg0 string) (*Graph, error)

func NewGraph

func NewGraph(ctx context.Context) (*Graph, error)

func Open

func Open(ctx context.Context, _arg0 string, _arg1 *GraphDescriptor, _arg2 *ClientDiscipline) (*Graph, error)

func Read

func Read(ctx context.Context, _arg0 string, _arg1 *ClientDiscipline) (*Graph, error)

func (*Graph) Alloc

func (v *Graph) Alloc(ctx context.Context, _arg0 uint64) (any, error)

func (*Graph) AttachAttrs

func (v *Graph) AttachAttrs(ctx context.Context) error

func (*Graph) Attr

func (v *Graph) Attr(ctx context.Context, _arg0 int, _arg1 string, _arg2 string) (*Sym, error)

func (*Graph) Clean

func (v *Graph) Clean(ctx context.Context, _arg0 int, _arg1 string) error

func (*Graph) Close

func (v *Graph) Close(ctx context.Context) (int, error)

func (*Graph) Contains

func (v *Graph) Contains(ctx context.Context, _arg0 any) (int, error)

func (*Graph) CountUniqueEdges

func (v *Graph) CountUniqueEdges(ctx context.Context, _arg0 *Node, _arg1 int, _arg2 int) (int, error)

func (*Graph) Degree

func (v *Graph) Degree(ctx context.Context, _arg0 *Node, _arg1 int, _arg2 int) (int, error)

func (*Graph) Delete

func (v *Graph) Delete(ctx context.Context, _arg0 any) (int, error)

func (*Graph) DeleteEdge

func (v *Graph) DeleteEdge(ctx context.Context, _arg0 *Edge) (int, error)

func (*Graph) DeleteNode

func (v *Graph) DeleteNode(ctx context.Context, _arg0 *Node) (int, error)

func (*Graph) DeleteSubGraph

func (v *Graph) DeleteSubGraph(ctx context.Context, _arg0 *Graph) (int, error)

func (*Graph) Edge

func (v *Graph) Edge(ctx context.Context, _arg0 *Node, _arg1 *Node, _arg2 string, _arg3 int) (*Edge, error)

func (*Graph) EdgeNum

func (v *Graph) EdgeNum(ctx context.Context) (int, error)

func (*Graph) FirstEdge

func (v *Graph) FirstEdge(ctx context.Context, _arg0 *Node) (*Edge, error)

func (*Graph) FirstIn

func (v *Graph) FirstIn(ctx context.Context, _arg0 *Node) (*Edge, error)

func (*Graph) FirstNode

func (v *Graph) FirstNode(ctx context.Context) (*Node, error)

func (*Graph) FirstOut

func (v *Graph) FirstOut(ctx context.Context, _arg0 *Node) (*Edge, error)

func (*Graph) FirstSubGraph

func (v *Graph) FirstSubGraph(ctx context.Context) (*Graph, error)

func (*Graph) Free

func (v *Graph) Free(ctx context.Context, _arg0 any) error

func (*Graph) GetBase

func (v *Graph) GetBase() *Object

func (*Graph) GetClos

func (v *Graph) GetClos() *CommonFields

func (*Graph) GetDesc

func (v *Graph) GetDesc() *GraphDescriptor

func (*Graph) GetEId

func (v *Graph) GetEId() *Dict

func (*Graph) GetESeq

func (v *Graph) GetESeq() *Dict

func (*Graph) GetGId

func (v *Graph) GetGId() *Dict

func (*Graph) GetGSeq

func (v *Graph) GetGSeq() *Dict
func (v *Graph) GetIdLink() *DictLink

func (*Graph) GetNSeq

func (v *Graph) GetNSeq() *Dict

func (*Graph) GetParent

func (v *Graph) GetParent() *Graph

func (*Graph) GetRoot

func (v *Graph) GetRoot() *Graph
func (v *Graph) GetSeqLink() *DictLink

func (*Graph) IdEdge

func (v *Graph) IdEdge(ctx context.Context, _arg0 *Node, _arg1 *Node, _arg2 uint64, _arg3 int) (*Edge, error)

func (*Graph) IdNode

func (v *Graph) IdNode(ctx context.Context, _arg0 uint64, _arg1 int) (*Node, error)

func (*Graph) IdSubGraph

func (v *Graph) IdSubGraph(ctx context.Context, _arg0 uint64, _arg1 int) (*Graph, error)

func (*Graph) Init

func (v *Graph) Init(ctx context.Context, _arg0 int, _arg1 string, _arg2 int, _arg3 int) error

func (*Graph) IsSimple

func (v *Graph) IsSimple(ctx context.Context) (int, error)

func (*Graph) LastNode

func (v *Graph) LastNode(ctx context.Context) (*Node, error)

func (*Graph) NextAttr

func (v *Graph) NextAttr(ctx context.Context, _arg0 int, _arg1 *Sym) (*Sym, error)

func (*Graph) NextEdge

func (v *Graph) NextEdge(ctx context.Context, _arg0 *Edge, _arg1 *Node) (*Edge, error)

func (*Graph) NextIn

func (v *Graph) NextIn(ctx context.Context, _arg0 *Edge) (*Edge, error)

func (*Graph) NextNode

func (v *Graph) NextNode(ctx context.Context, _arg0 *Node) (*Node, error)

func (*Graph) NextOut

func (v *Graph) NextOut(ctx context.Context, _arg0 *Edge) (*Edge, error)

func (*Graph) NextSubGraph

func (v *Graph) NextSubGraph(ctx context.Context) (*Graph, error)

func (*Graph) Node

func (v *Graph) Node(ctx context.Context, _arg0 string, _arg1 int) (*Node, error)

func (*Graph) NodeNum

func (v *Graph) NodeNum(ctx context.Context) (int, error)

func (*Graph) Parent

func (v *Graph) Parent(ctx context.Context) (*Graph, error)

func (*Graph) PrevNode

func (v *Graph) PrevNode(ctx context.Context, _arg0 *Node) (*Node, error)

func (*Graph) Realloc

func (v *Graph) Realloc(ctx context.Context, _arg0 any, _arg1 uint64, _arg2 uint64) (any, error)

func (*Graph) SetBase

func (v *Graph) SetBase(_arg *Object) error

func (*Graph) SetClos

func (v *Graph) SetClos(_arg *CommonFields) error

func (*Graph) SetDesc

func (v *Graph) SetDesc(_arg *GraphDescriptor) error

func (*Graph) SetEId

func (v *Graph) SetEId(_arg *Dict) error

func (*Graph) SetESeq

func (v *Graph) SetESeq(_arg *Dict) error

func (*Graph) SetGId

func (v *Graph) SetGId(_arg *Dict) error

func (*Graph) SetGSeq

func (v *Graph) SetGSeq(_arg *Dict) error
func (v *Graph) SetIdLink(_arg *DictLink) error

func (*Graph) SetNSeq

func (v *Graph) SetNSeq(_arg *Dict) error

func (*Graph) SetParent

func (v *Graph) SetParent(_arg *Graph) error

func (*Graph) SetRoot

func (v *Graph) SetRoot(_arg *Graph) error
func (v *Graph) SetSeqLink(_arg *DictLink) error

func (*Graph) StrBind

func (v *Graph) StrBind(ctx context.Context, _arg0 string) (string, error)

func (*Graph) StrFree

func (v *Graph) StrFree(ctx context.Context, _arg0 string) (int, error)

func (*Graph) Strdup

func (v *Graph) Strdup(ctx context.Context, _arg0 string) (string, error)

func (*Graph) StrdupHTML

func (v *Graph) StrdupHTML(ctx context.Context, _arg0 string) (string, error)

func (*Graph) SubEdge

func (v *Graph) SubEdge(ctx context.Context, _arg0 *Edge, _arg1 int) (*Edge, error)

func (*Graph) SubGraph

func (v *Graph) SubGraph(ctx context.Context, _arg0 string, _arg1 int) (*Graph, error)

func (*Graph) SubGraphNum

func (v *Graph) SubGraphNum(ctx context.Context) (int, error)

func (*Graph) SubNode

func (v *Graph) SubNode(ctx context.Context, _arg0 *Node, _arg1 int) (*Node, error)

func (*Graph) SubRep

func (v *Graph) SubRep(ctx context.Context, _arg0 *Node) (*SubNode, error)

func (*Graph) ToolTred

func (v *Graph) ToolTred(ctx context.Context) (int, error)

type GraphDescriptor

type GraphDescriptor struct {
	// contains filtered or unexported fields
}

func NewGraphDescriptor

func NewGraphDescriptor(ctx context.Context) (*GraphDescriptor, error)

func (*GraphDescriptor) GetDirected

func (v *GraphDescriptor) GetDirected() uint32

func (*GraphDescriptor) GetHasAttrs

func (v *GraphDescriptor) GetHasAttrs() uint32

func (*GraphDescriptor) GetHasCmpnd

func (v *GraphDescriptor) GetHasCmpnd() uint32

func (*GraphDescriptor) GetMaingraph

func (v *GraphDescriptor) GetMaingraph() uint32

func (*GraphDescriptor) GetNoLoop

func (v *GraphDescriptor) GetNoLoop() uint32

func (*GraphDescriptor) GetNoWrite

func (v *GraphDescriptor) GetNoWrite() uint32

func (*GraphDescriptor) GetStrict

func (v *GraphDescriptor) GetStrict() uint32

func (*GraphDescriptor) SetDirected

func (v *GraphDescriptor) SetDirected(_arg uint32) error

func (*GraphDescriptor) SetHasAttrs

func (v *GraphDescriptor) SetHasAttrs(_arg uint32) error

func (*GraphDescriptor) SetHasCmpnd

func (v *GraphDescriptor) SetHasCmpnd(_arg uint32) error

func (*GraphDescriptor) SetMaingraph

func (v *GraphDescriptor) SetMaingraph(_arg uint32) error

func (*GraphDescriptor) SetNoLoop

func (v *GraphDescriptor) SetNoLoop(_arg uint32) error

func (*GraphDescriptor) SetNoWrite

func (v *GraphDescriptor) SetNoWrite(_arg uint32) error

func (*GraphDescriptor) SetStrict

func (v *GraphDescriptor) SetStrict(_arg uint32) error

type IDAllocator

type IDAllocator struct {
	// contains filtered or unexported fields
}

func NewIDAllocator

func NewIDAllocator(ctx context.Context) (*IDAllocator, error)

func (*IDAllocator) SetAlloc

func (v *IDAllocator) SetAlloc(ctx context.Context, arg *CallbackFunc[func(context.Context, any, int, uint64) (int32, error)]) error

func (*IDAllocator) SetClose

func (v *IDAllocator) SetClose(ctx context.Context, arg *CallbackFunc[func(context.Context, any) error]) error

func (*IDAllocator) SetFree

func (v *IDAllocator) SetFree(ctx context.Context, arg *CallbackFunc[func(context.Context, any, int, uint64) error]) error

func (*IDAllocator) SetIdregister

func (v *IDAllocator) SetIdregister(ctx context.Context, arg *CallbackFunc[func(context.Context, any, int, any) error]) error

func (*IDAllocator) SetMap

func (v *IDAllocator) SetMap(ctx context.Context, arg *CallbackFunc[func(context.Context, any, int, string, *uint64, int) (int32, error)]) error

func (*IDAllocator) SetOpen

func (*IDAllocator) SetPrint

func (v *IDAllocator) SetPrint(ctx context.Context, arg *CallbackFunc[func(context.Context, any, int, uint64) (string, error)]) error

type IOService

type IOService struct {
	// contains filtered or unexported fields
}

func NewIOService

func NewIOService(ctx context.Context) (*IOService, error)

func (*IOService) SetAfread

func (v *IOService) SetAfread(ctx context.Context, arg *CallbackFunc[func(context.Context, any, string, int) (int, error)]) error

func (*IOService) SetFlush

func (v *IOService) SetFlush(ctx context.Context, arg *CallbackFunc[func(context.Context, any) (int, error)]) error

func (*IOService) SetPutstr

func (v *IOService) SetPutstr(ctx context.Context, arg *CallbackFunc[func(context.Context, any, string) (int, error)]) error

type ImageType

type ImageType int
var (
	IMAGE_TYPE_NULL ImageType = 0
	IMAGE_TYPE_BMP  ImageType = 1
	IMAGE_TYPE_GIF  ImageType = 2
	IMAGE_TYPE_PNG  ImageType = 3
	IMAGE_TYPE_JPEG ImageType = 4
	IMAGE_TYPE_PDF  ImageType = 5
	IMAGE_TYPE_PS   ImageType = 6
	IMAGE_TYPE_EPS  ImageType = 7
	IMAGE_TYPE_SVG  ImageType = 8
	IMAGE_TYPE_XML  ImageType = 9
	IMAGE_TYPE_RIFF ImageType = 10
	IMAGE_TYPE_WEBP ImageType = 11
	IMAGE_TYPE_ICO  ImageType = 12
	IMAGE_TYPE_TIFF ImageType = 13
)

func (ImageType) String

func (v ImageType) String() string

type Job

type Job struct {
	// contains filtered or unexported fields
}

func NewJob

func NewJob(ctx context.Context) (*Job, error)

func (*Job) GetActiveTooltip

func (v *Job) GetActiveTooltip() string

func (*Job) GetBb

func (v *Job) GetBb() *BoxFloat

func (*Job) GetBoundingBox

func (v *Job) GetBoundingBox() *Box

func (*Job) GetButton

func (v *Job) GetButton() uint64

func (*Job) GetCallbacks

func (v *Job) GetCallbacks() *DeviceCallbacks

func (*Job) GetCanvasBox

func (v *Job) GetCanvasBox() *BoxFloat

func (*Job) GetClick

func (v *Job) GetClick() bool

func (*Job) GetClip

func (v *Job) GetClip() *BoxFloat

func (*Job) GetCommon

func (v *Job) GetCommon() *Common

func (*Job) GetContext

func (v *Job) GetContext() any

func (*Job) GetCurrentObj

func (v *Job) GetCurrentObj() any

func (*Job) GetDevice

func (v *Job) GetDevice() *PluginActiveDevice

func (*Job) GetDeviceDpi

func (v *Job) GetDeviceDpi() *PointFloat

func (*Job) GetDeviceSetsDpi

func (v *Job) GetDeviceSetsDpi() bool

func (*Job) GetDevscale

func (v *Job) GetDevscale() *PointFloat

func (*Job) GetDisplay

func (v *Job) GetDisplay() any

func (*Job) GetDpi

func (v *Job) GetDpi() *PointFloat

func (*Job) GetExternalContext

func (v *Job) GetExternalContext() bool

func (*Job) GetFitMode

func (v *Job) GetFitMode() bool

func (*Job) GetFlags

func (v *Job) GetFlags() int64

func (*Job) GetFocus

func (v *Job) GetFocus() *PointFloat

func (*Job) GetGraphIndex

func (v *Job) GetGraphIndex() int64

func (*Job) GetGvc

func (v *Job) GetGvc() *Context

func (*Job) GetHasBeenRendered

func (v *Job) GetHasBeenRendered() bool

func (*Job) GetHasGrown

func (v *Job) GetHasGrown() bool

func (*Job) GetHeight

func (v *Job) GetHeight() uint64

func (*Job) GetImagedata

func (v *Job) GetImagedata() string

func (*Job) GetInputFilename

func (v *Job) GetInputFilename() string

func (*Job) GetLayerNum

func (v *Job) GetLayerNum() int64

func (*Job) GetLayoutType

func (v *Job) GetLayoutType() string

func (*Job) GetLoadimage

func (v *Job) GetLoadimage() *PluginActiveLoadImage

func (*Job) GetMargin

func (v *Job) GetMargin() *PointFloat

func (*Job) GetNeedsRefresh

func (v *Job) GetNeedsRefresh() bool

func (*Job) GetNext

func (v *Job) GetNext() *Job

func (*Job) GetNextActive

func (v *Job) GetNextActive() *Job

func (*Job) GetNumLayers

func (v *Job) GetNumLayers() int64

func (*Job) GetNumPages

func (v *Job) GetNumPages() int64

func (*Job) GetObj

func (v *Job) GetObj() *ObjectState

func (*Job) GetOldpointer

func (v *Job) GetOldpointer() *PointFloat

func (*Job) GetOutputData

func (v *Job) GetOutputData() string

func (*Job) GetOutputDataAllocated

func (v *Job) GetOutputDataAllocated() uint

func (*Job) GetOutputDataPosition

func (v *Job) GetOutputDataPosition() uint

func (*Job) GetOutputFile

func (v *Job) GetOutputFile() *File

func (*Job) GetOutputFilename

func (v *Job) GetOutputFilename() string

func (*Job) GetOutputLang

func (v *Job) GetOutputLang() int64

func (*Job) GetOutputLangname

func (v *Job) GetOutputLangname() string

func (*Job) GetPad

func (v *Job) GetPad() *PointFloat

func (*Job) GetPageBoundingBox

func (v *Job) GetPageBoundingBox() *Box

func (*Job) GetPageBox

func (v *Job) GetPageBox() *BoxFloat

func (*Job) GetPageSize

func (v *Job) GetPageSize() *PointFloat

func (*Job) GetPagesArrayElem

func (v *Job) GetPagesArrayElem() *Point

func (*Job) GetPagesArrayFirst

func (v *Job) GetPagesArrayFirst() *Point

func (*Job) GetPagesArrayMajor

func (v *Job) GetPagesArrayMajor() *Point

func (*Job) GetPagesArrayMinor

func (v *Job) GetPagesArrayMinor() *Point

func (*Job) GetPagesArraySize

func (v *Job) GetPagesArraySize() *Point

func (*Job) GetPointer

func (v *Job) GetPointer() *PointFloat

func (*Job) GetRender

func (v *Job) GetRender() *PluginActiveRender

func (*Job) GetRotation

func (v *Job) GetRotation() int64

func (*Job) GetScale

func (v *Job) GetScale() *PointFloat

func (*Job) GetScreen

func (v *Job) GetScreen() int64

func (*Job) GetSelectedHref

func (v *Job) GetSelectedHref() string

func (*Job) GetSelectedObj

func (v *Job) GetSelectedObj() any

func (*Job) GetTranslation

func (v *Job) GetTranslation() *PointFloat

func (*Job) GetView

func (v *Job) GetView() *PointFloat

func (*Job) GetWidth

func (v *Job) GetWidth() uint64

func (*Job) GetZoom

func (v *Job) GetZoom() float64

func (*Job) SetActiveTooltip

func (v *Job) SetActiveTooltip(_arg string) error

func (*Job) SetBb

func (v *Job) SetBb(_arg *BoxFloat) error

func (*Job) SetBoundingBox

func (v *Job) SetBoundingBox(_arg *Box) error

func (*Job) SetButton

func (v *Job) SetButton(_arg uint64) error

func (*Job) SetCallbacks

func (v *Job) SetCallbacks(_arg *DeviceCallbacks) error

func (*Job) SetCanvasBox

func (v *Job) SetCanvasBox(_arg *BoxFloat) error

func (*Job) SetClick

func (v *Job) SetClick(_arg bool) error

func (*Job) SetClip

func (v *Job) SetClip(_arg *BoxFloat) error

func (*Job) SetCommon

func (v *Job) SetCommon(_arg *Common) error

func (*Job) SetContext

func (v *Job) SetContext(_arg any) error

func (*Job) SetCurrentObj

func (v *Job) SetCurrentObj(_arg any) error

func (*Job) SetDevice

func (v *Job) SetDevice(_arg *PluginActiveDevice) error

func (*Job) SetDeviceDpi

func (v *Job) SetDeviceDpi(_arg *PointFloat) error

func (*Job) SetDeviceSetsDpi

func (v *Job) SetDeviceSetsDpi(_arg bool) error

func (*Job) SetDevscale

func (v *Job) SetDevscale(_arg *PointFloat) error

func (*Job) SetDisplay

func (v *Job) SetDisplay(_arg any) error

func (*Job) SetDpi

func (v *Job) SetDpi(_arg *PointFloat) error

func (*Job) SetExternalContext

func (v *Job) SetExternalContext(_arg bool) error

func (*Job) SetFitMode

func (v *Job) SetFitMode(_arg bool) error

func (*Job) SetFlags

func (v *Job) SetFlags(_arg int64) error

func (*Job) SetFocus

func (v *Job) SetFocus(_arg *PointFloat) error

func (*Job) SetGraphIndex

func (v *Job) SetGraphIndex(_arg int64) error

func (*Job) SetGvc

func (v *Job) SetGvc(_arg *Context) error

func (*Job) SetHasBeenRendered

func (v *Job) SetHasBeenRendered(_arg bool) error

func (*Job) SetHasGrown

func (v *Job) SetHasGrown(_arg bool) error

func (*Job) SetHeight

func (v *Job) SetHeight(_arg uint64) error

func (*Job) SetImagedata

func (v *Job) SetImagedata(_arg string) error

func (*Job) SetInputFilename

func (v *Job) SetInputFilename(_arg string) error

func (*Job) SetLayerNum

func (v *Job) SetLayerNum(_arg int64) error

func (*Job) SetLayoutType

func (v *Job) SetLayoutType(_arg string) error

func (*Job) SetLoadimage

func (v *Job) SetLoadimage(_arg *PluginActiveLoadImage) error

func (*Job) SetMargin

func (v *Job) SetMargin(_arg *PointFloat) error

func (*Job) SetNeedsRefresh

func (v *Job) SetNeedsRefresh(_arg bool) error

func (*Job) SetNext

func (v *Job) SetNext(_arg *Job) error

func (*Job) SetNextActive

func (v *Job) SetNextActive(_arg *Job) error

func (*Job) SetNumLayers

func (v *Job) SetNumLayers(_arg int64) error

func (*Job) SetNumPages

func (v *Job) SetNumPages(_arg int64) error

func (*Job) SetObj

func (v *Job) SetObj(_arg *ObjectState) error

func (*Job) SetOldpointer

func (v *Job) SetOldpointer(_arg *PointFloat) error

func (*Job) SetOutputData

func (v *Job) SetOutputData(_arg string) error

func (*Job) SetOutputDataAllocated

func (v *Job) SetOutputDataAllocated(_arg uint) error

func (*Job) SetOutputDataPosition

func (v *Job) SetOutputDataPosition(_arg uint) error

func (*Job) SetOutputFile

func (v *Job) SetOutputFile(_arg *File) error

func (*Job) SetOutputFilename

func (v *Job) SetOutputFilename(_arg string) error

func (*Job) SetOutputLang

func (v *Job) SetOutputLang(_arg int64) error

func (*Job) SetOutputLangname

func (v *Job) SetOutputLangname(_arg string) error

func (*Job) SetPad

func (v *Job) SetPad(_arg *PointFloat) error

func (*Job) SetPageBoundingBox

func (v *Job) SetPageBoundingBox(_arg *Box) error

func (*Job) SetPageBox

func (v *Job) SetPageBox(_arg *BoxFloat) error

func (*Job) SetPageSize

func (v *Job) SetPageSize(_arg *PointFloat) error

func (*Job) SetPagesArrayElem

func (v *Job) SetPagesArrayElem(_arg *Point) error

func (*Job) SetPagesArrayFirst

func (v *Job) SetPagesArrayFirst(_arg *Point) error

func (*Job) SetPagesArrayMajor

func (v *Job) SetPagesArrayMajor(_arg *Point) error

func (*Job) SetPagesArrayMinor

func (v *Job) SetPagesArrayMinor(_arg *Point) error

func (*Job) SetPagesArraySize

func (v *Job) SetPagesArraySize(_arg *Point) error

func (*Job) SetPointer

func (v *Job) SetPointer(_arg *PointFloat) error

func (*Job) SetRender

func (v *Job) SetRender(_arg *PluginActiveRender) error

func (*Job) SetRotation

func (v *Job) SetRotation(_arg int64) error

func (*Job) SetScale

func (v *Job) SetScale(_arg *PointFloat) error

func (*Job) SetScreen

func (v *Job) SetScreen(_arg int64) error

func (*Job) SetSelectedHref

func (v *Job) SetSelectedHref(_arg string) error

func (*Job) SetSelectedObj

func (v *Job) SetSelectedObj(_arg any) error

func (*Job) SetTranslation

func (v *Job) SetTranslation(_arg *PointFloat) error

func (*Job) SetView

func (v *Job) SetView(_arg *PointFloat) error

func (*Job) SetWidth

func (v *Job) SetWidth(_arg uint64) error

func (*Job) SetZoom

func (v *Job) SetZoom(_arg float64) error

type LabelType

type LabelType int
var (
	LABEL_PLAIN LabelType = 0
	LABEL_HTML  LabelType = 1
)

func (LabelType) String

func (v LabelType) String() string

type LayoutEngine

type LayoutEngine struct {
	// contains filtered or unexported fields
}

func NewLayoutEngine

func NewLayoutEngine(ctx context.Context) (*LayoutEngine, error)

func (*LayoutEngine) SetCleanup

func (v *LayoutEngine) SetCleanup(ctx context.Context, arg *CallbackFunc[func(context.Context, *Graph) error]) error

func (*LayoutEngine) SetLayout

func (v *LayoutEngine) SetLayout(ctx context.Context, arg *CallbackFunc[func(context.Context, *Graph) error]) error

type LayoutFeatures

type LayoutFeatures struct {
	// contains filtered or unexported fields
}

func NewLayoutFeatures

func NewLayoutFeatures(ctx context.Context) (*LayoutFeatures, error)

func (*LayoutFeatures) GetFlags

func (v *LayoutFeatures) GetFlags() int64

func (*LayoutFeatures) SetFlags

func (v *LayoutFeatures) SetFlags(_arg int64) error

type LoadImageEngine

type LoadImageEngine struct {
	// contains filtered or unexported fields
}

func NewLoadImageEngine

func NewLoadImageEngine(ctx context.Context) (*LoadImageEngine, error)

func (*LoadImageEngine) SetLoadImage

func (v *LoadImageEngine) SetLoadImage(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, *UserShape, *BoxFloat, bool) error]) error

type LookupFuncMap

type LookupFuncMap struct {
	IDAllocator_Open                     func(*Graph, *ClientDiscipline) (uint64, error)
	IDAllocator_Map                      func(any, int, string, *uint64, int) (uint64, error)
	IDAllocator_Alloc                    func(any, int, uint64) (uint64, error)
	IDAllocator_Free                     func(any, int, uint64) (uint64, error)
	IDAllocator_Print                    func(any, int, uint64) (uint64, error)
	IDAllocator_Close                    func(any) (uint64, error)
	IDAllocator_IdRegister               func(any, int, any) (uint64, error)
	IOService_Afread                     func(any, string, int) (uint64, error)
	IOService_Putstr                     func(any, string) (uint64, error)
	IOService_Flush                      func(any) (uint64, error)
	ClientEventCallback_ObjectFunc       func(*Graph, *Object, any) (uint64, error)
	ClientEventCallback_ObjectUpdateFunc func(*Graph, *Object, any, *Sym) (uint64, error)
	UserRef                              func(string) (uint64, error)
	DictMemory                           func(*Dict, any, uint32, *DictDisc) (uint64, error)
	DictSearch                           func(*Dict, any, int) (uint64, error)
	DictMake                             func(any, *DictDisc) (uint64, error)
	DictFree                             func(any) (uint64, error)
	DictCompare                          func(any, any) (uint64, error)
	DictWalk                             func(any, any) (uint64, error)
	UserShape_DataFree                   func(*UserShape) (uint64, error)
	DeviceCallbacks_Refresh              func(*Job) (uint64, error)
	DeviceCallbacks_ButtonPress          func(*Job, int, *PointFloat) (uint64, error)
	DeviceCallbacks_ButtonRelease        func(*Job, int, *PointFloat) (uint64, error)
	DeviceCallbacks_Motion               func(*Job, *PointFloat) (uint64, error)
	DeviceCallbacks_Modify               func(*Job, string, string) (uint64, error)
	DeviceCallbacks_Delete               func(*Job) (uint64, error)
	DeviceCallbacks_Read                 func(*Job, string, string) (uint64, error)
	DeviceCallbacks_Layout               func(*Job, string) (uint64, error)
	DeviceCallbacks_Render               func(*Job, string, string) (uint64, error)
	DeviceEngine_Initialize              func(*Job) (uint64, error)
	DeviceEngine_Format                  func(*Job) (uint64, error)
	DeviceEngine_Finalize                func(*Job) (uint64, error)
	RenderEngine_BeginJob                func(*Job) (uint64, error)
	RenderEngine_EndJob                  func(*Job) (uint64, error)
	RenderEngine_BeginGraph              func(*Job) (uint64, error)
	RenderEngine_EndGraph                func(*Job) (uint64, error)
	RenderEngine_BeginLayer              func(*Job, string, int, int) (uint64, error)
	RenderEngine_EndLayer                func(*Job) (uint64, error)
	RenderEngine_BeginPage               func(*Job) (uint64, error)
	RenderEngine_EndPage                 func(*Job) (uint64, error)
	RenderEngine_BeginCluster            func(*Job) (uint64, error)
	RenderEngine_EndCluster              func(*Job) (uint64, error)
	RenderEngine_BeginNodes              func(*Job) (uint64, error)
	RenderEngine_EndNodes                func(*Job) (uint64, error)
	RenderEngine_BeginEdges              func(*Job) (uint64, error)
	RenderEngine_EndEdges                func(*Job) (uint64, error)
	RenderEngine_BeginNode               func(*Job) (uint64, error)
	RenderEngine_EndNode                 func(*Job) (uint64, error)
	RenderEngine_BeginEdge               func(*Job) (uint64, error)
	RenderEngine_EndEdge                 func(*Job) (uint64, error)
	RenderEngine_BeginAnchor             func(*Job, string, string, string, string) (uint64, error)
	RenderEngine_EndAnchor               func(*Job) (uint64, error)
	RenderEngine_BeginLabel              func(*Job, LabelType) (uint64, error)
	RenderEngine_EndLabel                func(*Job) (uint64, error)
	RenderEngine_Textspan                func(*Job, *PointFloat, *Textspan) (uint64, error)
	RenderEngine_ResolveColor            func(*Job, *Color) (uint64, error)
	RenderEngine_Ellipse                 func(*Job, []*PointFloat, int) (uint64, error)
	RenderEngine_Polygon                 func(*Job, []*PointFloat, uint32, int) (uint64, error)
	RenderEngine_Beziercurve             func(*Job, []*PointFloat, uint32, int) (uint64, error)
	RenderEngine_Polyline                func(*Job, []*PointFloat, uint32) (uint64, error)
	RenderEngine_Comment                 func(*Job, string) (uint64, error)
	RenderEngine_LibraryShape            func(*Job, string, []*PointFloat, uint32, int) (uint64, error)
	LayoutEngine_Layout                  func(*Graph) (uint64, error)
	LayoutEngine_Cleanup                 func(*Graph) (uint64, error)
	TextLayoutEngine_TextLayout          func(*Textspan, []string) (uint64, error)
	LoadImageEngine_LoadImage            func(*Job, *UserShape, *BoxFloat, bool) (uint64, error)
}

type MapShapeType

type MapShapeType int
var (
	MAP_RECTANGLE MapShapeType = 0
	MAP_CIRCLE    MapShapeType = 1
	MAP_POLYGON   MapShapeType = 2
)

func (MapShapeType) String

func (v MapShapeType) String() string

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(ctx context.Context) (*Node, error)

func (*Node) Before

func (v *Node) Before(ctx context.Context, _arg0 *Node) (int, error)

func (*Node) GetBase

func (v *Node) GetBase() *Object

func (*Node) GetMainsub

func (v *Node) GetMainsub() *SubNode

func (*Node) GetRoot

func (v *Node) GetRoot() *Graph

func (*Node) ReLabel

func (v *Node) ReLabel(ctx context.Context, _arg0 string) (int, error)

func (*Node) SetBase

func (v *Node) SetBase(_arg *Object) error

func (*Node) SetMainsub

func (v *Node) SetMainsub(_arg *SubNode) error

func (*Node) SetRoot

func (v *Node) SetRoot(_arg *Graph) error

type Object

type Object struct {
	// contains filtered or unexported fields
}

func NewObject

func NewObject(ctx context.Context) (*Object, error)

func (*Object) GetData

func (v *Object) GetData() *Record

func (*Object) GetTag

func (v *Object) GetTag() *Tag

func (*Object) SetData

func (v *Object) SetData(_arg *Record) error

func (*Object) SetTag

func (v *Object) SetTag(_arg *Tag) error

type ObjectState

type ObjectState struct {
	// contains filtered or unexported fields
}

func NewObjectState

func NewObjectState(ctx context.Context) (*ObjectState, error)

func (*ObjectState) GetE

func (v *ObjectState) GetE() *Edge

func (*ObjectState) GetEmitState

func (v *ObjectState) GetEmitState() EmitState

func (*ObjectState) GetExplicitEdgetarget

func (v *ObjectState) GetExplicitEdgetarget() uint64

func (*ObjectState) GetExplicitHeadtarget

func (v *ObjectState) GetExplicitHeadtarget() uint64

func (*ObjectState) GetExplicitHeadtooltip

func (v *ObjectState) GetExplicitHeadtooltip() uint64

func (*ObjectState) GetExplicitHeadurl

func (v *ObjectState) GetExplicitHeadurl() uint64

func (*ObjectState) GetExplicitLabeltooltip

func (v *ObjectState) GetExplicitLabeltooltip() uint64

func (*ObjectState) GetExplicitTailtarget

func (v *ObjectState) GetExplicitTailtarget() uint64

func (*ObjectState) GetExplicitTailtooltip

func (v *ObjectState) GetExplicitTailtooltip() uint64

func (*ObjectState) GetExplicitTailurl

func (v *ObjectState) GetExplicitTailurl() uint64

func (*ObjectState) GetExplicitTooltip

func (v *ObjectState) GetExplicitTooltip() uint64

func (*ObjectState) GetFill

func (v *ObjectState) GetFill() FillType

func (*ObjectState) GetFillcolor

func (v *ObjectState) GetFillcolor() *Color

func (*ObjectState) GetG

func (v *ObjectState) GetG() *Graph

func (*ObjectState) GetGradientAngle

func (v *ObjectState) GetGradientAngle() int64

func (*ObjectState) GetGradientFrac

func (v *ObjectState) GetGradientFrac() float32

func (*ObjectState) GetHeadZ

func (v *ObjectState) GetHeadZ() float64

func (*ObjectState) GetHeadendurlMapN

func (v *ObjectState) GetHeadendurlMapN() int64

func (*ObjectState) GetHeadendurlMapP

func (v *ObjectState) GetHeadendurlMapP() *PointFloat

func (*ObjectState) GetHeadlabel

func (v *ObjectState) GetHeadlabel() string

func (*ObjectState) GetHeadtarget

func (v *ObjectState) GetHeadtarget() string

func (*ObjectState) GetHeadtooltip

func (v *ObjectState) GetHeadtooltip() string

func (*ObjectState) GetHeadurl

func (v *ObjectState) GetHeadurl() string

func (*ObjectState) GetId

func (v *ObjectState) GetId() string

func (*ObjectState) GetLabel

func (v *ObjectState) GetLabel() string

func (*ObjectState) GetLabeledgealigned

func (v *ObjectState) GetLabeledgealigned() uint64

func (*ObjectState) GetLabeltarget

func (v *ObjectState) GetLabeltarget() string

func (*ObjectState) GetLabeltooltip

func (v *ObjectState) GetLabeltooltip() string

func (*ObjectState) GetLabelurl

func (v *ObjectState) GetLabelurl() string

func (*ObjectState) GetN

func (v *ObjectState) GetN() *Node

func (*ObjectState) GetParent

func (v *ObjectState) GetParent() *ObjectState

func (*ObjectState) GetPen

func (v *ObjectState) GetPen() PenType

func (*ObjectState) GetPencolor

func (v *ObjectState) GetPencolor() *Color

func (*ObjectState) GetPenwidth

func (v *ObjectState) GetPenwidth() float64

func (*ObjectState) GetRawstyle

func (v *ObjectState) GetRawstyle() []string

func (*ObjectState) GetSg

func (v *ObjectState) GetSg() *Graph

func (*ObjectState) GetStopcolor

func (v *ObjectState) GetStopcolor() *Color

func (*ObjectState) GetTailZ

func (v *ObjectState) GetTailZ() float64

func (*ObjectState) GetTailendurlMapN

func (v *ObjectState) GetTailendurlMapN() int64

func (*ObjectState) GetTailendurlMapP

func (v *ObjectState) GetTailendurlMapP() *PointFloat

func (*ObjectState) GetTaillabel

func (v *ObjectState) GetTaillabel() string

func (*ObjectState) GetTailtarget

func (v *ObjectState) GetTailtarget() string

func (*ObjectState) GetTailtooltip

func (v *ObjectState) GetTailtooltip() string

func (*ObjectState) GetTailurl

func (v *ObjectState) GetTailurl() string

func (*ObjectState) GetTarget

func (v *ObjectState) GetTarget() string

func (*ObjectState) GetTooltip

func (v *ObjectState) GetTooltip() string

func (*ObjectState) GetType

func (v *ObjectState) GetType() ObjectType

func (*ObjectState) GetUrl

func (v *ObjectState) GetUrl() string

func (*ObjectState) GetUrlBsplinemapN

func (v *ObjectState) GetUrlBsplinemapN() []int

func (*ObjectState) GetUrlBsplinemapP

func (v *ObjectState) GetUrlBsplinemapP() *PointFloat

func (*ObjectState) GetUrlBsplinemapPolyN

func (v *ObjectState) GetUrlBsplinemapPolyN() int64

func (*ObjectState) GetUrlMapN

func (v *ObjectState) GetUrlMapN() uint64

func (*ObjectState) GetUrlMapP

func (v *ObjectState) GetUrlMapP() *PointFloat

func (*ObjectState) GetUrlMapShape

func (v *ObjectState) GetUrlMapShape() MapShapeType

func (*ObjectState) GetXlabel

func (v *ObjectState) GetXlabel() string

func (*ObjectState) GetZ

func (v *ObjectState) GetZ() float64

func (*ObjectState) SetE

func (v *ObjectState) SetE(_arg *Edge) error

func (*ObjectState) SetEmitState

func (v *ObjectState) SetEmitState(_arg EmitState) error

func (*ObjectState) SetExplicitEdgetarget

func (v *ObjectState) SetExplicitEdgetarget(_arg uint64) error

func (*ObjectState) SetExplicitHeadtarget

func (v *ObjectState) SetExplicitHeadtarget(_arg uint64) error

func (*ObjectState) SetExplicitHeadtooltip

func (v *ObjectState) SetExplicitHeadtooltip(_arg uint64) error

func (*ObjectState) SetExplicitHeadurl

func (v *ObjectState) SetExplicitHeadurl(_arg uint64) error

func (*ObjectState) SetExplicitLabeltooltip

func (v *ObjectState) SetExplicitLabeltooltip(_arg uint64) error

func (*ObjectState) SetExplicitTailtarget

func (v *ObjectState) SetExplicitTailtarget(_arg uint64) error

func (*ObjectState) SetExplicitTailtooltip

func (v *ObjectState) SetExplicitTailtooltip(_arg uint64) error

func (*ObjectState) SetExplicitTailurl

func (v *ObjectState) SetExplicitTailurl(_arg uint64) error

func (*ObjectState) SetExplicitTooltip

func (v *ObjectState) SetExplicitTooltip(_arg uint64) error

func (*ObjectState) SetFill

func (v *ObjectState) SetFill(_arg FillType) error

func (*ObjectState) SetFillcolor

func (v *ObjectState) SetFillcolor(_arg *Color) error

func (*ObjectState) SetG

func (v *ObjectState) SetG(_arg *Graph) error

func (*ObjectState) SetGradientAngle

func (v *ObjectState) SetGradientAngle(_arg int64) error

func (*ObjectState) SetGradientFrac

func (v *ObjectState) SetGradientFrac(_arg float32) error

func (*ObjectState) SetHeadZ

func (v *ObjectState) SetHeadZ(_arg float64) error

func (*ObjectState) SetHeadendurlMapN

func (v *ObjectState) SetHeadendurlMapN(_arg int64) error

func (*ObjectState) SetHeadendurlMapP

func (v *ObjectState) SetHeadendurlMapP(_arg *PointFloat) error

func (*ObjectState) SetHeadlabel

func (v *ObjectState) SetHeadlabel(_arg string) error

func (*ObjectState) SetHeadtarget

func (v *ObjectState) SetHeadtarget(_arg string) error

func (*ObjectState) SetHeadtooltip

func (v *ObjectState) SetHeadtooltip(_arg string) error

func (*ObjectState) SetHeadurl

func (v *ObjectState) SetHeadurl(_arg string) error

func (*ObjectState) SetId

func (v *ObjectState) SetId(_arg string) error

func (*ObjectState) SetLabel

func (v *ObjectState) SetLabel(_arg string) error

func (*ObjectState) SetLabeledgealigned

func (v *ObjectState) SetLabeledgealigned(_arg uint64) error

func (*ObjectState) SetLabeltarget

func (v *ObjectState) SetLabeltarget(_arg string) error

func (*ObjectState) SetLabeltooltip

func (v *ObjectState) SetLabeltooltip(_arg string) error

func (*ObjectState) SetLabelurl

func (v *ObjectState) SetLabelurl(_arg string) error

func (*ObjectState) SetN

func (v *ObjectState) SetN(_arg *Node) error

func (*ObjectState) SetParent

func (v *ObjectState) SetParent(_arg *ObjectState) error

func (*ObjectState) SetPen

func (v *ObjectState) SetPen(_arg PenType) error

func (*ObjectState) SetPencolor

func (v *ObjectState) SetPencolor(_arg *Color) error

func (*ObjectState) SetPenwidth

func (v *ObjectState) SetPenwidth(_arg float64) error

func (*ObjectState) SetRawstyle

func (v *ObjectState) SetRawstyle(_arg []string) error

func (*ObjectState) SetSg

func (v *ObjectState) SetSg(_arg *Graph) error

func (*ObjectState) SetStopcolor

func (v *ObjectState) SetStopcolor(_arg *Color) error

func (*ObjectState) SetTailZ

func (v *ObjectState) SetTailZ(_arg float64) error

func (*ObjectState) SetTailendurlMapN

func (v *ObjectState) SetTailendurlMapN(_arg int64) error

func (*ObjectState) SetTailendurlMapP

func (v *ObjectState) SetTailendurlMapP(_arg *PointFloat) error

func (*ObjectState) SetTaillabel

func (v *ObjectState) SetTaillabel(_arg string) error

func (*ObjectState) SetTailtarget

func (v *ObjectState) SetTailtarget(_arg string) error

func (*ObjectState) SetTailtooltip

func (v *ObjectState) SetTailtooltip(_arg string) error

func (*ObjectState) SetTailurl

func (v *ObjectState) SetTailurl(_arg string) error

func (*ObjectState) SetTarget

func (v *ObjectState) SetTarget(_arg string) error

func (*ObjectState) SetTooltip

func (v *ObjectState) SetTooltip(_arg string) error

func (*ObjectState) SetType

func (v *ObjectState) SetType(_arg ObjectType) error

func (*ObjectState) SetUrl

func (v *ObjectState) SetUrl(_arg string) error

func (*ObjectState) SetUrlBsplinemapN

func (v *ObjectState) SetUrlBsplinemapN(_arg []int) error

func (*ObjectState) SetUrlBsplinemapP

func (v *ObjectState) SetUrlBsplinemapP(_arg *PointFloat) error

func (*ObjectState) SetUrlBsplinemapPolyN

func (v *ObjectState) SetUrlBsplinemapPolyN(_arg int64) error

func (*ObjectState) SetUrlMapN

func (v *ObjectState) SetUrlMapN(_arg uint64) error

func (*ObjectState) SetUrlMapP

func (v *ObjectState) SetUrlMapP(_arg *PointFloat) error

func (*ObjectState) SetUrlMapShape

func (v *ObjectState) SetUrlMapShape(_arg MapShapeType) error

func (*ObjectState) SetXlabel

func (v *ObjectState) SetXlabel(_arg string) error

func (*ObjectState) SetZ

func (v *ObjectState) SetZ(_arg float64) error

type ObjectTag

type ObjectTag int
var (
	GRAPH    ObjectTag = 0
	NODE     ObjectTag = 1
	OUT_EDGE ObjectTag = 2
	IN_EDGE  ObjectTag = 3
	EDGE     ObjectTag = 4
)

func (ObjectTag) String

func (v ObjectTag) String() string

type ObjectType

type ObjectType int
var (
	ROOTGRAPH_OBJTYPE ObjectType = 0
	CLUSTER_OBJTYPE   ObjectType = 1
	NODE_OBJTYPE      ObjectType = 2
	EDGE_OBJTYPE      ObjectType = 3
)

func (ObjectType) String

func (v ObjectType) String() string

type PenType

type PenType int
var (
	PEN_NONE   PenType = 0
	PEN_DASHED PenType = 1
	PEN_DOTTED PenType = 2
	PEN_SOLID  PenType = 3
)

func (PenType) String

func (v PenType) String() string

type PluginAPI

type PluginAPI struct {
	// contains filtered or unexported fields
}

func NewPluginAPI

func NewPluginAPI(ctx context.Context) (*PluginAPI, error)

func PluginAPIZero

func PluginAPIZero(ctx context.Context) (*PluginAPI, error)

func (*PluginAPI) GetApi

func (v *PluginAPI) GetApi() API

func (*PluginAPI) GetTypes

func (v *PluginAPI) GetTypes() []*PluginInstalled

func (*PluginAPI) SetApi

func (v *PluginAPI) SetApi(_arg API) error

func (*PluginAPI) SetTypes

func (v *PluginAPI) SetTypes(_arg []*PluginInstalled) error

type PluginActiveDevice

type PluginActiveDevice struct {
	// contains filtered or unexported fields
}

func NewPluginActiveDevice

func NewPluginActiveDevice(ctx context.Context) (*PluginActiveDevice, error)

func (*PluginActiveDevice) GetEngine

func (v *PluginActiveDevice) GetEngine() *DeviceEngine

func (*PluginActiveDevice) GetFeatures

func (v *PluginActiveDevice) GetFeatures() *DeviceFeatures

func (*PluginActiveDevice) GetId

func (v *PluginActiveDevice) GetId() int64

func (*PluginActiveDevice) GetType

func (v *PluginActiveDevice) GetType() string

func (*PluginActiveDevice) SetEngine

func (v *PluginActiveDevice) SetEngine(_arg *DeviceEngine) error

func (*PluginActiveDevice) SetFeatures

func (v *PluginActiveDevice) SetFeatures(_arg *DeviceFeatures) error

func (*PluginActiveDevice) SetId

func (v *PluginActiveDevice) SetId(_arg int64) error

func (*PluginActiveDevice) SetType

func (v *PluginActiveDevice) SetType(_arg string) error

type PluginActiveLoadImage

type PluginActiveLoadImage struct {
	// contains filtered or unexported fields
}

func NewPluginActiveLoadImage

func NewPluginActiveLoadImage(ctx context.Context) (*PluginActiveLoadImage, error)

func (*PluginActiveLoadImage) GetEngine

func (v *PluginActiveLoadImage) GetEngine() *LoadImageEngine

func (*PluginActiveLoadImage) GetId

func (v *PluginActiveLoadImage) GetId() int64

func (*PluginActiveLoadImage) GetType

func (v *PluginActiveLoadImage) GetType() string

func (*PluginActiveLoadImage) SetEngine

func (v *PluginActiveLoadImage) SetEngine(_arg *LoadImageEngine) error

func (*PluginActiveLoadImage) SetId

func (v *PluginActiveLoadImage) SetId(_arg int64) error

func (*PluginActiveLoadImage) SetType

func (v *PluginActiveLoadImage) SetType(_arg string) error

type PluginActiveRender

type PluginActiveRender struct {
	// contains filtered or unexported fields
}

func NewPluginActiveRender

func NewPluginActiveRender(ctx context.Context) (*PluginActiveRender, error)

func (*PluginActiveRender) GetEngine

func (v *PluginActiveRender) GetEngine() *RenderEngine

func (*PluginActiveRender) GetFeatures

func (v *PluginActiveRender) GetFeatures() *RenderFeatures

func (*PluginActiveRender) GetId

func (v *PluginActiveRender) GetId() int64

func (*PluginActiveRender) GetType

func (v *PluginActiveRender) GetType() string

func (*PluginActiveRender) SetEngine

func (v *PluginActiveRender) SetEngine(_arg *RenderEngine) error

func (*PluginActiveRender) SetFeatures

func (v *PluginActiveRender) SetFeatures(_arg *RenderFeatures) error

func (*PluginActiveRender) SetId

func (v *PluginActiveRender) SetId(_arg int64) error

func (*PluginActiveRender) SetType

func (v *PluginActiveRender) SetType(_arg string) error

type PluginAvailable

type PluginAvailable struct {
	// contains filtered or unexported fields
}

func NewPluginAvailable

func NewPluginAvailable(ctx context.Context) (*PluginAvailable, error)

func (*PluginAvailable) GetNext

func (v *PluginAvailable) GetNext() *PluginAvailable

func (*PluginAvailable) GetPackage

func (v *PluginAvailable) GetPackage() *PluginPackage

func (*PluginAvailable) GetQuality

func (v *PluginAvailable) GetQuality() int64

func (*PluginAvailable) GetTypeptr

func (v *PluginAvailable) GetTypeptr() *PluginInstalled

func (*PluginAvailable) GetTypestr

func (v *PluginAvailable) GetTypestr() string

func (*PluginAvailable) SetNext

func (v *PluginAvailable) SetNext(_arg *PluginAvailable) error

func (*PluginAvailable) SetPackage

func (v *PluginAvailable) SetPackage(_arg *PluginPackage) error

func (*PluginAvailable) SetQuality

func (v *PluginAvailable) SetQuality(_arg int64) error

func (*PluginAvailable) SetTypeptr

func (v *PluginAvailable) SetTypeptr(_arg *PluginInstalled) error

func (*PluginAvailable) SetTypestr

func (v *PluginAvailable) SetTypestr(_arg string) error

type PluginInstalled

type PluginInstalled struct {
	// contains filtered or unexported fields
}

func NewPluginInstalled

func NewPluginInstalled(ctx context.Context) (*PluginInstalled, error)

func PluginInstalledZero

func PluginInstalledZero(ctx context.Context) (*PluginInstalled, error)

func (*PluginInstalled) GetEngine

func (v *PluginInstalled) GetEngine() any

func (*PluginInstalled) GetFeatures

func (v *PluginInstalled) GetFeatures() any

func (*PluginInstalled) GetId

func (v *PluginInstalled) GetId() int64

func (*PluginInstalled) GetQuality

func (v *PluginInstalled) GetQuality() int64

func (*PluginInstalled) GetType

func (v *PluginInstalled) GetType() string

func (*PluginInstalled) SetEngine

func (v *PluginInstalled) SetEngine(_arg any) error

func (*PluginInstalled) SetFeatures

func (v *PluginInstalled) SetFeatures(_arg any) error

func (*PluginInstalled) SetId

func (v *PluginInstalled) SetId(_arg int64) error

func (*PluginInstalled) SetQuality

func (v *PluginInstalled) SetQuality(_arg int64) error

func (*PluginInstalled) SetType

func (v *PluginInstalled) SetType(_arg string) error

type PluginLibrary

type PluginLibrary struct {
	// contains filtered or unexported fields
}

func NewPluginLibrary

func NewPluginLibrary(ctx context.Context) (*PluginLibrary, error)

func (*PluginLibrary) GetApis

func (v *PluginLibrary) GetApis() []*PluginAPI

func (*PluginLibrary) GetPackageName

func (v *PluginLibrary) GetPackageName() string

func (*PluginLibrary) SetApis

func (v *PluginLibrary) SetApis(_arg []*PluginAPI) error

func (*PluginLibrary) SetPackageName

func (v *PluginLibrary) SetPackageName(_arg string) error

type PluginPackage

type PluginPackage struct {
	// contains filtered or unexported fields
}

func NewPluginPackage

func NewPluginPackage(ctx context.Context) (*PluginPackage, error)

func (*PluginPackage) GetName

func (v *PluginPackage) GetName() string

func (*PluginPackage) GetNext

func (v *PluginPackage) GetNext() *PluginPackage

func (*PluginPackage) GetPath

func (v *PluginPackage) GetPath() string

func (*PluginPackage) SetName

func (v *PluginPackage) SetName(_arg string) error

func (*PluginPackage) SetNext

func (v *PluginPackage) SetNext(_arg *PluginPackage) error

func (*PluginPackage) SetPath

func (v *PluginPackage) SetPath(_arg string) error

type Point

type Point struct {
	// contains filtered or unexported fields
}

func NewPoint

func NewPoint(ctx context.Context) (*Point, error)

func (*Point) GetX

func (v *Point) GetX() int64

func (*Point) GetY

func (v *Point) GetY() int64

func (*Point) SetX

func (v *Point) SetX(_arg int64) error

func (*Point) SetY

func (v *Point) SetY(_arg int64) error

type PointFloat

type PointFloat struct {
	// contains filtered or unexported fields
}

func NewPointFloat

func NewPointFloat(ctx context.Context) (*PointFloat, error)

func (*PointFloat) GetX

func (v *PointFloat) GetX() float64

func (*PointFloat) GetY

func (v *PointFloat) GetY() float64

func (*PointFloat) SetX

func (v *PointFloat) SetX(_arg float64) error

func (*PointFloat) SetY

func (v *PointFloat) SetY(_arg float64) error

type PostscriptAlias

type PostscriptAlias struct {
	// contains filtered or unexported fields
}

func NewPostscriptAlias

func NewPostscriptAlias(ctx context.Context) (*PostscriptAlias, error)

func (*PostscriptAlias) GetFamily

func (v *PostscriptAlias) GetFamily() string

func (*PostscriptAlias) GetName

func (v *PostscriptAlias) GetName() string

func (*PostscriptAlias) GetStretch

func (v *PostscriptAlias) GetStretch() string

func (*PostscriptAlias) GetStyle

func (v *PostscriptAlias) GetStyle() string

func (*PostscriptAlias) GetSvgFontFamily

func (v *PostscriptAlias) GetSvgFontFamily() string

func (*PostscriptAlias) GetSvgFontStyle

func (v *PostscriptAlias) GetSvgFontStyle() string

func (*PostscriptAlias) GetSvgFontWeight

func (v *PostscriptAlias) GetSvgFontWeight() string

func (*PostscriptAlias) GetWeight

func (v *PostscriptAlias) GetWeight() string

func (*PostscriptAlias) GetXfigCode

func (v *PostscriptAlias) GetXfigCode() int64

func (*PostscriptAlias) SetFamily

func (v *PostscriptAlias) SetFamily(_arg string) error

func (*PostscriptAlias) SetName

func (v *PostscriptAlias) SetName(_arg string) error

func (*PostscriptAlias) SetStretch

func (v *PostscriptAlias) SetStretch(_arg string) error

func (*PostscriptAlias) SetStyle

func (v *PostscriptAlias) SetStyle(_arg string) error

func (*PostscriptAlias) SetSvgFontFamily

func (v *PostscriptAlias) SetSvgFontFamily(_arg string) error

func (*PostscriptAlias) SetSvgFontStyle

func (v *PostscriptAlias) SetSvgFontStyle(_arg string) error

func (*PostscriptAlias) SetSvgFontWeight

func (v *PostscriptAlias) SetSvgFontWeight(_arg string) error

func (*PostscriptAlias) SetWeight

func (v *PostscriptAlias) SetWeight(_arg string) error

func (*PostscriptAlias) SetXfigCode

func (v *PostscriptAlias) SetXfigCode(_arg int64) error

type Record

type Record struct {
	// contains filtered or unexported fields
}

func GetRecord

func GetRecord(ctx context.Context, _arg0 any, _arg1 string, _arg2 int) (*Record, error)

func NewRecord

func NewRecord(ctx context.Context) (*Record, error)

func (*Record) GetName

func (v *Record) GetName() string

func (*Record) GetNext

func (v *Record) GetNext() *Record

func (*Record) SetName

func (v *Record) SetName(_arg string) error

func (*Record) SetNext

func (v *Record) SetNext(_arg *Record) error

type RenderEngine

type RenderEngine struct {
	// contains filtered or unexported fields
}

func NewRenderEngine

func NewRenderEngine(ctx context.Context) (*RenderEngine, error)

func (*RenderEngine) SetBeginAnchor

func (v *RenderEngine) SetBeginAnchor(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string, string, string, string) error]) error

func (*RenderEngine) SetBeginCluster

func (v *RenderEngine) SetBeginCluster(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginEdge

func (v *RenderEngine) SetBeginEdge(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginEdges

func (v *RenderEngine) SetBeginEdges(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginGraph

func (v *RenderEngine) SetBeginGraph(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginJob

func (v *RenderEngine) SetBeginJob(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginLabel

func (v *RenderEngine) SetBeginLabel(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, LabelType) error]) error

func (*RenderEngine) SetBeginLayer

func (v *RenderEngine) SetBeginLayer(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string, int, int) error]) error

func (*RenderEngine) SetBeginNode

func (v *RenderEngine) SetBeginNode(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginNodes

func (v *RenderEngine) SetBeginNodes(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeginPage

func (v *RenderEngine) SetBeginPage(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetBeziercurve

func (v *RenderEngine) SetBeziercurve(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, []*PointFloat, uint32, int) error]) error

func (*RenderEngine) SetComment

func (v *RenderEngine) SetComment(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string) error]) error

func (*RenderEngine) SetEllipse

func (v *RenderEngine) SetEllipse(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, []*PointFloat, int) error]) error

func (*RenderEngine) SetEndAnchor

func (v *RenderEngine) SetEndAnchor(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndCluster

func (v *RenderEngine) SetEndCluster(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndEdge

func (v *RenderEngine) SetEndEdge(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndEdges

func (v *RenderEngine) SetEndEdges(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndGraph

func (v *RenderEngine) SetEndGraph(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndJob

func (v *RenderEngine) SetEndJob(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndLabel

func (v *RenderEngine) SetEndLabel(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndLayer

func (v *RenderEngine) SetEndLayer(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndNode

func (v *RenderEngine) SetEndNode(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndNodes

func (v *RenderEngine) SetEndNodes(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetEndPage

func (v *RenderEngine) SetEndPage(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job) error]) error

func (*RenderEngine) SetLibraryShape

func (v *RenderEngine) SetLibraryShape(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, string, []*PointFloat, uint32, int) error]) error

func (*RenderEngine) SetPolygon

func (v *RenderEngine) SetPolygon(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, []*PointFloat, uint32, int) error]) error

func (*RenderEngine) SetPolyline

func (v *RenderEngine) SetPolyline(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, []*PointFloat, uint32) error]) error

func (*RenderEngine) SetResolveColor

func (v *RenderEngine) SetResolveColor(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, *Color) error]) error

func (*RenderEngine) SetTextspan

func (v *RenderEngine) SetTextspan(ctx context.Context, arg *CallbackFunc[func(context.Context, *Job, *PointFloat, *Textspan) error]) error

type RenderFeatures

type RenderFeatures struct {
	// contains filtered or unexported fields
}

func NewRenderFeatures

func NewRenderFeatures(ctx context.Context) (*RenderFeatures, error)

func (*RenderFeatures) GetColorType

func (v *RenderFeatures) GetColorType() ColorType

func (*RenderFeatures) GetDefaultPad

func (v *RenderFeatures) GetDefaultPad() float64

func (*RenderFeatures) GetFlags

func (v *RenderFeatures) GetFlags() int64

func (*RenderFeatures) GetKnownColors

func (v *RenderFeatures) GetKnownColors() []string

func (*RenderFeatures) GetSizeKnownColors

func (v *RenderFeatures) GetSizeKnownColors() int64

func (*RenderFeatures) SetColorType

func (v *RenderFeatures) SetColorType(_arg ColorType) error

func (*RenderFeatures) SetDefaultPad

func (v *RenderFeatures) SetDefaultPad(_arg float64) error

func (*RenderFeatures) SetFlags

func (v *RenderFeatures) SetFlags(_arg int64) error

func (*RenderFeatures) SetKnownColors

func (v *RenderFeatures) SetKnownColors(_arg []string) error

func (*RenderFeatures) SetSizeKnownColors

func (v *RenderFeatures) SetSizeKnownColors(_arg int64) error

type RenderType

type RenderType int
var (
	RENDER_Y_GOES_DOWN        RenderType = 0
	RENDER_DOES_TRANSFORM     RenderType = 1
	RENDER_DOES_LABELS        RenderType = 2
	RENDER_DOES_MAPS          RenderType = 3
	RENDER_DOES_MAP_RECTANGLE RenderType = 4
	RENDER_DOES_MAP_CIRCLE    RenderType = 5
	RENDER_DOES_MAP_POLYGON   RenderType = 6
	RENDER_DOES_MAP_ELLIPSE   RenderType = 7
	RENDER_DOES_MAP_BSPLINE   RenderType = 8
	RENDER_DOES_TOOLTIPS      RenderType = 9
	RENDER_DOES_TARGETS       RenderType = 10
	RENDER_DOES_Z             RenderType = 11
	RENDER_NO_WHITE_BG        RenderType = 12
)

func (RenderType) String

func (v RenderType) String() string

type RequiredType

type RequiredType int
var (
	LAYOUT_NOT_REQUIRED RequiredType = 0
	OUTPUT_NOT_REQUIRED RequiredType = 1
)

func (RequiredType) String

func (v RequiredType) String() string

type State

type State struct {
	// contains filtered or unexported fields
}

func NewState

func NewState(ctx context.Context) (*State, error)

func (*State) GetId

func (v *State) GetId() any

func (*State) SetId

func (v *State) SetId(_arg any) error

type SubNode

type SubNode struct {
	// contains filtered or unexported fields
}

func NewSubNode

func NewSubNode(ctx context.Context) (*SubNode, error)
func (v *SubNode) GetIdLink() *DictLink

func (*SubNode) GetInId

func (v *SubNode) GetInId() *DictLink

func (*SubNode) GetInSeq

func (v *SubNode) GetInSeq() *DictLink

func (*SubNode) GetNode

func (v *SubNode) GetNode() *Node

func (*SubNode) GetOutId

func (v *SubNode) GetOutId() *DictLink

func (*SubNode) GetOutSeq

func (v *SubNode) GetOutSeq() *DictLink
func (v *SubNode) GetSeqLink() *DictLink
func (v *SubNode) SetIdLink(_arg *DictLink) error

func (*SubNode) SetInId

func (v *SubNode) SetInId(_arg *DictLink) error

func (*SubNode) SetInSeq

func (v *SubNode) SetInSeq(_arg *DictLink) error

func (*SubNode) SetNode

func (v *SubNode) SetNode(_arg *Node) error

func (*SubNode) SetOutId

func (v *SubNode) SetOutId(_arg *DictLink) error

func (*SubNode) SetOutSeq

func (v *SubNode) SetOutSeq(_arg *DictLink) error
func (v *SubNode) SetSeqLink(_arg *DictLink) error

type Sym

type Sym struct {
	// contains filtered or unexported fields
}

func AttrSym

func AttrSym(ctx context.Context, _arg0 *Object, _arg1 string) (*Sym, error)

func NewSym

func NewSym(ctx context.Context) (*Sym, error)

func (*Sym) GetDefval

func (v *Sym) GetDefval() string

func (*Sym) GetFixed

func (v *Sym) GetFixed() uint32

func (*Sym) GetId

func (v *Sym) GetId() int32

func (*Sym) GetKind

func (v *Sym) GetKind() uint32
func (v *Sym) GetLink() *DictLink

func (*Sym) GetName

func (v *Sym) GetName() string

func (*Sym) GetPrint

func (v *Sym) GetPrint() uint32

func (*Sym) SetDefval

func (v *Sym) SetDefval(_arg string) error

func (*Sym) SetFixed

func (v *Sym) SetFixed(_arg uint32) error

func (*Sym) SetId

func (v *Sym) SetId(_arg int32) error

func (*Sym) SetKind

func (v *Sym) SetKind(_arg uint32) error
func (v *Sym) SetLink(_arg *DictLink) error

func (*Sym) SetName

func (v *Sym) SetName(_arg string) error

func (*Sym) SetPrint

func (v *Sym) SetPrint(_arg uint32) error

type SymList

type SymList struct {
	// contains filtered or unexported fields
}

func DefaultSymList

func DefaultSymList(ctx context.Context) ([]*SymList, error)

func NewSymList

func NewSymList(ctx context.Context) (*SymList, error)

func SymListZero

func SymListZero(ctx context.Context) (*SymList, error)

func (*SymList) GetAddress

func (v *SymList) GetAddress() *PluginLibrary

func (*SymList) GetName

func (v *SymList) GetName() string

func (*SymList) SetAddress

func (v *SymList) SetAddress(_arg *PluginLibrary) error

func (*SymList) SetName

func (v *SymList) SetName(_arg string) error

type Tag

type Tag struct {
	// contains filtered or unexported fields
}

func NewTag

func NewTag(ctx context.Context) (*Tag, error)

func (*Tag) GetAttrwf

func (v *Tag) GetAttrwf() uint32

func (*Tag) GetId

func (v *Tag) GetId() uint64

func (*Tag) GetMtflock

func (v *Tag) GetMtflock() uint32

func (*Tag) GetObjectType

func (v *Tag) GetObjectType() uint32

func (*Tag) GetSeq

func (v *Tag) GetSeq() uint32

func (*Tag) SetAttrwf

func (v *Tag) SetAttrwf(_arg uint32) error

func (*Tag) SetId

func (v *Tag) SetId(_arg uint64) error

func (*Tag) SetMtflock

func (v *Tag) SetMtflock(_arg uint32) error

func (*Tag) SetObjectType

func (v *Tag) SetObjectType(_arg uint32) error

func (*Tag) SetSeq

func (v *Tag) SetSeq(_arg uint32) error

type TextFont

type TextFont struct {
	// contains filtered or unexported fields
}

func NewTextFont

func NewTextFont(ctx context.Context) (*TextFont, error)

func (*TextFont) GetColor

func (v *TextFont) GetColor() string

func (*TextFont) GetCount

func (v *TextFont) GetCount() uint64

func (*TextFont) GetFlags

func (v *TextFont) GetFlags() uint64

func (*TextFont) GetName

func (v *TextFont) GetName() string

func (*TextFont) GetPostscriptAlias

func (v *TextFont) GetPostscriptAlias() *PostscriptAlias

func (*TextFont) GetSize

func (v *TextFont) GetSize() float64

func (*TextFont) SetColor

func (v *TextFont) SetColor(_arg string) error

func (*TextFont) SetCount

func (v *TextFont) SetCount(_arg uint64) error

func (*TextFont) SetFlags

func (v *TextFont) SetFlags(_arg uint64) error

func (*TextFont) SetName

func (v *TextFont) SetName(_arg string) error

func (*TextFont) SetPostscriptAlias

func (v *TextFont) SetPostscriptAlias(_arg *PostscriptAlias) error

func (*TextFont) SetSize

func (v *TextFont) SetSize(_arg float64) error

type TextLayoutEngine

type TextLayoutEngine struct {
	// contains filtered or unexported fields
}

func NewTextLayoutEngine

func NewTextLayoutEngine(ctx context.Context) (*TextLayoutEngine, error)

func (*TextLayoutEngine) SetTextlayout

func (v *TextLayoutEngine) SetTextlayout(ctx context.Context, arg *CallbackFunc[func(context.Context, *Textspan, []string) (bool, error)]) error

type Textspan

type Textspan struct {
	// contains filtered or unexported fields
}

func NewTextspan

func NewTextspan(ctx context.Context) (*Textspan, error)

func (*Textspan) GetFont

func (v *Textspan) GetFont() *TextFont

func (*Textspan) GetJust

func (v *Textspan) GetJust() int64

func (*Textspan) GetSize

func (v *Textspan) GetSize() *PointFloat

func (*Textspan) GetStr

func (v *Textspan) GetStr() string

func (*Textspan) GetYOffsetCenterLine

func (v *Textspan) GetYOffsetCenterLine() float64

func (*Textspan) GetYOffsetLayout

func (v *Textspan) GetYOffsetLayout() float64

func (*Textspan) SetFont

func (v *Textspan) SetFont(_arg *TextFont) error

func (*Textspan) SetJust

func (v *Textspan) SetJust(_arg int64) error

func (*Textspan) SetSize

func (v *Textspan) SetSize(_arg *PointFloat) error

func (*Textspan) SetStr

func (v *Textspan) SetStr(_arg string) error

func (*Textspan) SetYOffsetCenterLine

func (v *Textspan) SetYOffsetCenterLine(_arg float64) error

func (*Textspan) SetYOffsetLayout

func (v *Textspan) SetYOffsetLayout(_arg float64) error

type UserShape

type UserShape struct {
	// contains filtered or unexported fields
}

func NewUserShape

func NewUserShape(ctx context.Context) (*UserShape, error)

func (*UserShape) GetData

func (v *UserShape) GetData() any

func (*UserShape) GetDatasize

func (v *UserShape) GetDatasize() uint64

func (*UserShape) GetDpi

func (v *UserShape) GetDpi() int64

func (*UserShape) GetF

func (v *UserShape) GetF() *File

func (*UserShape) GetH

func (v *UserShape) GetH() int64
func (v *UserShape) GetLink() *DictLink

func (*UserShape) GetMacroId

func (v *UserShape) GetMacroId() int64

func (*UserShape) GetMustInline

func (v *UserShape) GetMustInline() bool

func (*UserShape) GetName

func (v *UserShape) GetName() string

func (*UserShape) GetNocache

func (v *UserShape) GetNocache() bool

func (*UserShape) GetStringtype

func (v *UserShape) GetStringtype() string

func (*UserShape) GetType

func (v *UserShape) GetType() ImageType

func (*UserShape) GetW

func (v *UserShape) GetW() int64

func (*UserShape) GetX

func (v *UserShape) GetX() int64

func (*UserShape) GetY

func (v *UserShape) GetY() int64

func (*UserShape) SetData

func (v *UserShape) SetData(_arg any) error

func (*UserShape) SetDatafree

func (v *UserShape) SetDatafree(ctx context.Context, arg *CallbackFunc[func(context.Context, *UserShape) error]) error

func (*UserShape) SetDatasize

func (v *UserShape) SetDatasize(_arg uint64) error

func (*UserShape) SetDpi

func (v *UserShape) SetDpi(_arg int64) error

func (*UserShape) SetF

func (v *UserShape) SetF(_arg *File) error

func (*UserShape) SetH

func (v *UserShape) SetH(_arg int64) error
func (v *UserShape) SetLink(_arg *DictLink) error

func (*UserShape) SetMacroId

func (v *UserShape) SetMacroId(_arg int64) error

func (*UserShape) SetMustInline

func (v *UserShape) SetMustInline(_arg bool) error

func (*UserShape) SetName

func (v *UserShape) SetName(_arg string) error

func (*UserShape) SetNocache

func (v *UserShape) SetNocache(_arg bool) error

func (*UserShape) SetStringtype

func (v *UserShape) SetStringtype(_arg string) error

func (*UserShape) SetType

func (v *UserShape) SetType(_arg ImageType) error

func (*UserShape) SetW

func (v *UserShape) SetW(_arg int64) error

func (*UserShape) SetX

func (v *UserShape) SetX(_arg int64) error

func (*UserShape) SetY

func (v *UserShape) SetY(_arg int64) error

type WasmFileSystem added in v0.2.3

type WasmFileSystem struct {
	// contains filtered or unexported fields
}

func (*WasmFileSystem) Open added in v0.2.3

func (fs *WasmFileSystem) Open(name string) (fs.File, error)

type WasmModule

type WasmModule struct {
	// contains filtered or unexported fields
}

func (*WasmModule) ExportedFunction

func (m *WasmModule) ExportedFunction(name string) api.Function

func (*WasmModule) NewPtr

func (m *WasmModule) NewPtr(ctx context.Context) (uint64, error)

Jump to

Keyboard shortcuts

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