17 references to ContentRect
PresentationFramework (17)
MS\Internal\PtsHost\CellParaClient.cs (6)
328transform = new TranslateTransform(-TextDpi.FromTextDpi(ContentRect.u), -TextDpi.FromTextDpi(ContentRect.v)); 338Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.dv)); 341transform = new TranslateTransform(TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v));
MS\Internal\PtsHost\SubpageParaClient.cs (11)
168if(ContentRect.Contains(pt)) 170pt = new PTS.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v); 265rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 402pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 403floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 422viewportSubpage.u = viewport.u - ContentRect.u; 423viewportSubpage.v = viewport.v - ContentRect.v;