Searched refs:new_box (Results 1 – 1 of 1) sorted by relevance
83 FX_RECT new_box = m_Box; in IntersectMaskF() local84 new_box.Intersect(mask_box); in IntersectMaskF()85 if (new_box.IsEmpty()) { in IntersectMaskF()88 m_Box = new_box; in IntersectMaskF()96 new_dib->Create(new_box.Width(), new_box.Height(), FXDIB_8bppMask); in IntersectMaskF()98 for (int row = new_box.top; row < new_box.bottom; row ++) { in IntersectMaskF()101 FX_LPBYTE new_scan = new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch(); in IntersectMaskF()102 for (int col = new_box.left; col < new_box.right; col ++) { in IntersectMaskF()103 … new_scan[col - new_box.left] = old_scan[col - m_Box.left] * mask_scan[col - left] / 255; in IntersectMaskF()106 m_Box = new_box; in IntersectMaskF()