Skip to content

Add the ability to blit CanvasItems to the CanvasItem behind it #1901

Closed
@Shadowblitz16

Description

Describe the project you are working on

Image Editor Plugin

Describe the problem or limitation you are having in your project

I want to use ColorRects as canvas items to draw image layers
but I need to be able to merge them down

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Add blit function to canvas item in which it draws to the canvas item's behind it with correct blending and shaders

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Basicly it would just be as simple as blit() with no parameters.
Blitting would blit to a image if it's a TextureRect with a ImageTexture

If this enhancement will not be used often, can it be worked around with a few lines of script?

It would be used for image and texture manipulation also idk

Is there a reason why this should be core and not an add-on in the asset library?

Its allows for easily blitting to surfaces with canvas items

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions