initRect method
Implementation
void initRect(Rect layoutRect, Rect destinationRect) {
if (_layoutRect != layoutRect) {
_layoutRect = layoutRect;
_screenDestinationRect = null;
}
if (_rawDestinationRect != destinationRect) {
_rawDestinationRect = destinationRect;
_screenDestinationRect = null;
}
}