Skip to content

drawImage(canvas, 0, 0) #30

@2xAA

Description

@2xAA

Official Canvas supports using the Canvas as an Image using context.drawImage.
Is there a possibility to do this with this library?

I'm not specifically asking for it to be added, just the theory behind it with either this library or OpenVG itself. I'd be more than happy working on implementing it myself.

From the MozDocs:
image
An element to draw into the context. The specification permits any canvas image source (CanvasImageSource), such as an HTMLImageElement, an HTMLVideoElement, an HTMLCanvasElement or an ImageBitmap.

I know this isn't an exact implementation, but there's any possibility to emulate this, it would be awesome.

Best,
Sam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions