ogx/Calculation2D — Issue #18: make mmRect obligatory
Author: carasuca
Created: 2012-02-24 17:19:38+00:00
State: open

related issue #17

overload all LayerI methods requiring mmRect to copy the whole image rect.

turn this:

const mmRect v_sUselessRect = {0, 0, v_iWidth, v_iHeight};
v_psChannel->GetPixels(v_sUselessRect, v_prPixels);

into this:
v_psChannel->GetPixels(v_prPixels);