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
| 197 | |
| 198 | // Painter is provided to Paint methods on Go types that have displayable content. |
| 199 | type Painter struct { |
| 200 | engine *Engine |
| 201 | obj Object |
| 202 | glctxt glbase.Context |
| 203 | } |
| 204 | |
| 205 | // Object returns the underlying object being painted. |
| 206 | func (p *Painter) Object() Object { |
nothing calls this directly
no outgoing calls
no test coverage detected