spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
OffscreenCanvasRenderingContext2D.drawImage
spasm
bindings
html
OffscreenCanvasRenderingContext2D
Undocumented in source. Be warned that the author may not have intended to support it.
void
drawImage
(CanvasImageSource image, double dx, double dy)
void
drawImage
(CanvasImageSource image, double dx, double dy, double dw, double dh)
void
drawImage
(CanvasImageSource image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh)
struct
OffscreenCanvasRenderingContext2D
nothrow
void
drawImage
()
(
scope
ref
CanvasImageSource
image
,
double
sx
,
double
sy
,
double
sw
,
double
sh
,
double
dx
,
double
dy
,
double
dw
,
double
dh
)
Meta
Source
See Implementation
spasm
bindings
html
OffscreenCanvasRenderingContext2D
constructors
this
functions
arc
arcTo
beginPath
bezierCurveTo
canvas
clearRect
clip
closePath
commit
createImageData
createLinearGradient
createPattern
createRadialGradient
direction
drawImage
ellipse
fill
fillRect
fillStyle
fillText
filter
font
getImageData
getLineDash
getTransform
globalAlpha
globalCompositeOperation
imageSmoothingEnabled
imageSmoothingQuality
isPointInPath
isPointInStroke
lineCap
lineDashOffset
lineJoin
lineTo
lineWidth
measureText
miterLimit
moveTo
putImageData
quadraticCurveTo
rect
resetTransform
restore
rotate
save
scale
setLineDash
setTransform
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
stroke
strokeRect
strokeStyle
strokeText
textAlign
textBaseline
transform
translate
variables
handle