Lines Matching refs:dr
226 BRect dr = bitmap->Bounds(); in CopyPixelsOut() local
233 sr = sr & dr.OffsetBySelf(location); in CopyPixelsOut()
234 dr = sr.OffsetByCopy(-location.x, -location.y); in CopyPixelsOut()
244 d = (uint32 *)(pd + (y + (uint32)(dr.top - sr.top)) in CopyPixelsOut()
246 d += (uint32) dr.left; in CopyPixelsOut()
247 memcpy(d, s, dr.IntegerWidth() * 4); in CopyPixelsOut()
271 BRect dr = fBitmap->Bounds(); in CopyPixelsIn() local
273 sr = sr & dr.OffsetBySelf(location); in CopyPixelsIn()
274 dr = sr.OffsetByCopy(-location.x, -location.y); in CopyPixelsIn()
285 d = (uint32 *)(pd + (y + (uint32)(dr.top - sr.top)) in CopyPixelsIn()
287 d += (uint32) dr.left; in CopyPixelsIn()
289 memcpy(d, s, dr.IntegerWidth() * 4); in CopyPixelsIn()