~eliasnaur/giouiorg

223f79a0c7e60607eae9b9eda67678a3f2ec48c3 — Egon Elbre 1 year, 11 months ago bda76fb
content/doc/architecure: fix drawImage example

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M include/files/architecture/draw.go
M include/files/architecture/draw.go => include/files/architecture/draw.go +1 -1
@@ 216,7 216,7 @@ func drawImageInternal(ops *op.Ops) {
func drawImage(ops *op.Ops, img image.Image) {
	imageOp := paint.NewImageOp(img)
	imageOp.Add(ops)
	op.Affine(f32.Affine2D{}.Scale(f32.Pt(0, 0), f32.Pt(4, 4)))
	op.Affine(f32.Affine2D{}.Scale(f32.Pt(0, 0), f32.Pt(4, 4))).Add(ops)
	paint.PaintOp{}.Add(ops)
}