17 references to ContentRect
PresentationFramework (17)
MS\Internal\PtsHost\CellParaClient.cs (6)
333transform = new TranslateTransform(-TextDpi.FromTextDpi(ContentRect.u), -TextDpi.FromTextDpi(ContentRect.v)); 343Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.dv)); 346transform = new TranslateTransform(TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v));
MS\Internal\PtsHost\SubpageParaClient.cs (11)
173if(ContentRect.Contains(pt)) 175pt = new PTS.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v); 270rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 407pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 408floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 427viewportSubpage.u = viewport.u - ContentRect.u; 428viewportSubpage.v = viewport.v - ContentRect.v;