Skip to content

getting canvas working #800

getting canvas working

getting canvas working #800

Triggered via pull request May 30, 2025 21:39
@rcoreillyrcoreilly
synchronize #370
canvas
Status Failure
Total duration 2m 51s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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
not enough arguments in call to sng.DeltaTransform
build: canvas/align.go#L209
multiple-value sng.DeltaTransform(del, sc, 0, bb.Min) (value of type ("cogentcore.org/core/math32".Matrix2, "cogentcore.org/core/math32".Vector2)) in single-value context
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
not enough arguments in call to sng.DeltaTransform
build: canvas/align.go#L154
multiple-value sng.DeltaTransform(del, sc, 0, bb.Min) (value of type ("cogentcore.org/core/math32".Matrix2, "cogentcore.org/core/math32".Vector2)) in single-value context
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