Should negative width in image produce mirroring?

but dw = 0 instead dw = -width i also not understand