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