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