MCPcopy
hub / github.com/go-qml/qml / Painter

Struct Painter

qml.go:199–203  ·  view source on GitHub ↗

TODO ObjectOf is probably still worth it, but turned out unnecessary for GL functionality. Test it properly before introducing it. ObjectOf returns the QML Object representation of the provided Go value within the e engine. func (e *Engine) ObjectOf(value interface{}) Object { // TODO Would be good

Source from the content-addressed store, hash-verified

197
198// Painter is provided to Paint methods on Go types that have displayable content.
199type Painter struct {
200 engine *Engine
201 obj Object
202 glctxt glbase.Context
203}
204
205// Object returns the underlying object being painted.
206func (p *Painter) Object() Object {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected