mirror of
https://github.com/RGBCube/serenity
synced 2025-06-29 03:52:12 +00:00
LibWeb: Stub CanvasRenderingContext2D.clip
This is primarily required by Google Maps Street View, but the map view works without this.
This commit is contained in:
parent
27cc8742ce
commit
89c4e011e4
3 changed files with 11 additions and 0 deletions
|
@ -726,6 +726,11 @@ void CanvasRenderingContext2D::reset_transform()
|
|||
m_drawing_state.transform = {};
|
||||
}
|
||||
|
||||
void CanvasRenderingContext2D::clip()
|
||||
{
|
||||
// FIXME: Implement.
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#check-the-usability-of-the-image-argument
|
||||
DOM::ExceptionOr<CanvasImageSourceUsability> check_usability_of_image(CanvasImageSource const& image)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue