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)
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)