17 references to ContentRect
PresentationFramework (17)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (6)
360
transform = new TranslateTransform(-TextDpi.FromTextDpi(
ContentRect
.u), -TextDpi.FromTextDpi(
ContentRect
.v));
370
Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(
ContentRect
.du), TextDpi.FromTextDpi(
ContentRect
.dv));
373
transform = new TranslateTransform(TextDpi.FromTextDpi(
ContentRect
.u), TextDpi.FromTextDpi(
ContentRect
.v));
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (11)
200
if(
ContentRect
.Contains(pt))
202
pt = new PTS.FSPOINT(pt.u -
ContentRect
.u, pt.v -
ContentRect
.v);
305
rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(
ContentRect
.u), TextDpi.FromTextDpi(
ContentRect
.v));
450
pageContentVisual.Offset = new PTS.FSVECTOR(
ContentRect
.u,
ContentRect
.v).FromTextDpi();
451
floatingElementsVisual.Offset = new PTS.FSVECTOR(
ContentRect
.u,
ContentRect
.v).FromTextDpi();
479
viewportSubpage.u = viewport.u -
ContentRect
.u;
480
viewportSubpage.v = viewport.v -
ContentRect
.v;