Skip to content

snippet10.d #5

@WendleC

Description

@WendleC

snippet10.d crashes at error check in graphics/GC.d [lines 1,144-1,146]:

if (srcX + srcWidth > imgWidth || srcY + srcHeight > imgHeight) {
DWT.error(DWT.ERROR_INVALID_ARGUMENT);
}

Signature of method
void drawImage(Image srcImage, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight, bool simple)

When "simple" is false, application crashes. This method is called from within:

public void drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions