Skip to content

getting canvas working #781

getting canvas working

getting canvas working #781

Triggered via pull request May 23, 2025 04:17
@rcoreillyrcoreilly
synchronize #370
canvas
Status Failure
Total duration 1m 12s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: canvas/canvas.go#L255
sv.SVG.ZoomReset undefined (type *svg.SVG has no field or method ZoomReset)
build: canvas/canvas.go#L199
sv.SVG.ZoomReset undefined (type *svg.SVG has no field or method ZoomReset)
build: canvas/align.go#L239
cannot use nb.BBox (variable of type image.Rectangle) as "cogentcore.org/core/math32".Box2 value in argument to ap.PointBox
build: canvas/align.go#L210
cannot use bb.Min (variable of type image.Point) as "cogentcore.org/core/math32".Vector2 value in argument to sn.ApplyDeltaTransform
build: canvas/align.go#L207
bb.Min.Add(bb.Max).MulScalar undefined (type image.Point has no field or method MulScalar)
build: canvas/align.go#L155
cannot use bb.Min (variable of type image.Point) as "cogentcore.org/core/math32".Vector2 value in argument to sn.ApplyDeltaTransform
build: canvas/align.go#L152
cannot use bb.Min (variable of type image.Point) as "cogentcore.org/core/math32".Vector2 value in argument to apos.Sub
build: canvas/align.go#L150
cannot use bb.Max (variable of type image.Point) as "cogentcore.org/core/math32".Vector2 value in argument to apos.Sub
build: canvas/align.go#L125
cannot use an.AsNodeBase().BBox (variable of type image.Rectangle) as "cogentcore.org/core/math32".Box2 value in assignment
build: canvas/align.go#L121
cannot use an.AsNodeBase().BBox (variable of type image.Rectangle) as "cogentcore.org/core/math32".Box2 value in assignment
build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2