Skip to content

getting canvas working #784

getting canvas working

getting canvas working #784

Triggered via pull request May 24, 2025 00:29
@rcoreillyrcoreilly
synchronize #370
canvas
Status Failure
Total duration 2m 16s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: canvas/canvas.go#L257
sv.SVG.ZoomReset undefined (type *svg.SVG has no field or method ZoomReset)
build: canvas/canvas.go#L201
sv.SVG.ZoomReset undefined (type *svg.SVG has no field or method ZoomReset)
build: canvas/align.go#L238
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#L209
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#L206
bb.Min.Add(bb.Max).MulScalar undefined (type image.Point has no field or method MulScalar)
build: canvas/align.go#L154
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#L151
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#L149
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#L124
cannot use an.AsNodeBase().BBox (variable of type image.Rectangle) as "cogentcore.org/core/math32".Box2 value in assignment
build: canvas/align.go#L120
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