Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[] (0) Clarify that drawImage() and createPattern() aren't useless wi…
- Loading branch information
Showing
with
22 additions
and
4 deletions.
-
+10
−2
index
-
+12
−2
source
|
|
|
|
|
|
|
|
<p>When the <var title="">image</var> argument is an |
|
|
<code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then the frame at the <a href=#current-playback-position>current |
|
|
playback position</a> must be used as the source image.</p> |
|
|
playback position</a> must be used as the source image, and the |
|
|
source image's dimensions must be the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> and |
|
|
<a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a> |
|
|
of the <a href=#media-resource>media resource</a> (i.e. after any aspect-ratio |
|
|
correction has been applied).</p> |
|
|
<!-- drawImage() has an equivalent paragraph --> |
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
<p>When the <var title="">image</var> argument is an |
|
|
<code><a href=#htmlvideoelement>HTMLVideoElement</a></code>, then the frame at the <a href=#current-playback-position>current |
|
|
playback position</a> must be used as the source image.</p> |
|
|
playback position</a> must be used as the source image, and the |
|
|
source image's dimensions must be the <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a> and |
|
|
<a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a> |
|
|
of the <a href=#media-resource>media resource</a> (i.e. after any aspect-ratio |
|
|
correction has been applied).</p> |
|
|
<!-- createPattern() has an equivalent paragraph --> |
|
|
|
|
|
<p>Images are painted without affecting the current path, and are |
|
|
|
|
|
|
|
|
<p>When the <var title="">image</var> argument is an |
|
|
<code>HTMLVideoElement</code>, then the frame at the <span>current |
|
|
playback position</span> must be used as the source image.</p> |
|
|
playback position</span> must be used as the source image, and the |
|
|
source image's dimensions must be the <span |
|
|
title="concept-video-intrinsic-width">intrinsic width</span> and |
|
|
<span title="concept-video-intrinsic-height">intrinsic height</span> |
|
|
of the <span>media resource</span> (i.e. after any aspect-ratio |
|
|
correction has been applied).</p> |
|
|
<!-- drawImage() has an equivalent paragraph --> |
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
<p>When the <var title="">image</var> argument is an |
|
|
<code>HTMLVideoElement</code>, then the frame at the <span>current |
|
|
playback position</span> must be used as the source image.</p> |
|
|
playback position</span> must be used as the source image, and the |
|
|
source image's dimensions must be the <span |
|
|
title="concept-video-intrinsic-width">intrinsic width</span> and |
|
|
<span title="concept-video-intrinsic-height">intrinsic height</span> |
|
|
of the <span>media resource</span> (i.e. after any aspect-ratio |
|
|
correction has been applied).</p> |
|
|
<!-- createPattern() has an equivalent paragraph --> |
|
|
|
|
|
<p>Images are painted without affecting the current path, and are |