libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
CanvasRenderingContext2D.drawImage
libwasm
bindings
CanvasRenderingContext2D
CanvasRenderingContext2D
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
CanvasRenderingContext2D
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
libwasm
bindings
CanvasRenderingContext2D
CanvasRenderingContext2D
constructors
this
functions
addHitRegion
arc
arcTo
beginPath
bezierCurveTo
canvas
clearHitRegions
clearRect
clip
closePath
createImageData
createLinearGradient
createPattern
createRadialGradient
demote
drawFocusIfNeeded
drawImage
drawWindow
ellipse
fill
fillRect
fillStyle
fillText
filter
font
getImageData
getLineDash
globalAlpha
globalCompositeOperation
imageSmoothingEnabled
isPointInPath
isPointInStroke
lineCap
lineDashOffset
lineJoin
lineTo
lineWidth
measureText
miterLimit
moveTo
mozCurrentTransform
mozCurrentTransformInverse
mozImageSmoothingEnabled
mozTextStyle
putImageData
quadraticCurveTo
rect
removeHitRegion
resetTransform
restore
rotate
save
scale
setLineDash
setTransform
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
stroke
strokeRect
strokeStyle
strokeText
textAlign
textBaseline
transform
translate
variables
DRAWWINDOW_ASYNC_DECODE_IMAGES
DRAWWINDOW_DO_NOT_FLUSH
DRAWWINDOW_DRAW_CARET
DRAWWINDOW_DRAW_VIEW
DRAWWINDOW_USE_WIDGET_LAYERS
handle