MCPcopy Index your code
hub / github.com/gonum/plot / DrawImage

Method DrawImage

vg/vg.go:84–84  ·  view source on GitHub ↗

DrawImage draws the image, scaled to fit the destination rectangle.

(rect Rectangle, img image.Image)

Source from the content-addressed store, hash-verified

82 // DrawImage draws the image, scaled to fit
83 // the destination rectangle.
84 DrawImage(rect Rectangle, img image.Image)
85}
86
87// CanvasSizer is a Canvas with a defined size.

Callers 6

ExampleField_gophersFunction · 0.65
PlotMethod · 0.65
DrawImageMethod · 0.65
DrawImageMethod · 0.65
BenchmarkCanvasImageFunction · 0.65
ApplyToMethod · 0.65

Implementers 7

teeCanvasvg/tee.go
Canvasvg/vgeps/vgeps.go
Canvasvg/vgtex/canvas.go
Canvasvg/vgimg/vgimg.go
Canvasvg/vgpdf/vgpdf.go
Canvasvg/recorder/recorder.go
Canvasvg/vgsvg/vgsvg.go

Calls

no outgoing calls

Tested by 2

ExampleField_gophersFunction · 0.52
BenchmarkCanvasImageFunction · 0.52