private void PageCacheFirstLoadParametrizer(PdfSourceRect rect, PageCacheParams param) { if (param.rotation % 180 != 0) { rect.RotateSize(); } }
private void PageCacheParametrizationChanger(PdfSourceRect rect, PageCacheParams oldParam, PageCacheParams newParam) { if ((newParam.rotation - oldParam.rotation) % 180 != 0) { rect.RotateSize(); } }