39 writes to u
PresentationFramework (39)
MS\Internal\PtsHost\CellParaClient.cs (2)
105
_rect.
u
= du + rcTable.u;
173
rectCell.
u
= rectCell.v = 0;
MS\Internal\PtsHost\ContainerParaClient.cs (1)
63
_rect.
u
+= mbp.MarginLeft;
MS\Internal\PtsHost\ContainerParagraph.cs (5)
526
fsrcToFillSubtrack.
u
+= mbp.MBPLeft;
528
fsrcToFillSubtrack.
u
= Math.Max(Math.Min(fsrcToFillSubtrack.u, fsrcToFill.u + fsrcToFill.du - 1), fsrcToFill.u);
615
fsbbox.fsrc.
u
-= mbp.MBPLeft;
745
fsbbox.fsrc.
u
-= mbp.MBPLeft;
875
fsbbox.fsrc.
u
-= mbp.MBPLeft;
MS\Internal\PtsHost\FigureParaClient.cs (4)
83
_contentRect.
u
= _rect.u + mbp.BPLeft;
88
_paddingRect.
u
= _rect.u + mbp.BorderLeft;
149
viewportSubpage.
u
= viewport.u - ContentRect.u;
201
_rect.
u
+= mbp.MarginLeft;
MS\Internal\PtsHost\FigureParagraph.cs (7)
368
fsrcFlow.
u
+= CalculateParagraphToColumnOffset(horizAnchor, fsrcFigurePreliminary);
372
fsrcFlow.
u
+= TextDpi.ToTextDpi(element.HorizontalOffset);
401
fsrcOverlap.
u
= (fsrcFlow.u + fsrcFlow.du + duGapWidth) - fsrcOverlap.du;
405
fsrcSearch.
u
= fsrcOverlap.u;
662
fsrcSearch.
u
= fsrcPage.u;
667
fsrcSearch.
u
= fsrcMargin.u;
672
fsrcSearch.
u
= fsrcTrack.u;
MS\Internal\PtsHost\FloaterParaClient.cs (5)
133
viewportSubpage.
u
= viewport.u - ContentRect.u;
181
rcFloater.
u
= rcHostPara.u + (rcHostPara.du - rcFloater.du) / 2;
192
_rect.
u
+= mbp.MarginLeft;
204
_contentRect.
u
= _rect.u + mbp.BPLeft;
209
_paddingRect.
u
= _rect.u + mbp.BorderLeft;
MS\Internal\PtsHost\FloaterParagraph.cs (2)
329
fsbbox.fsrc.
u
= 0;
512
fsbbox.fsrc.
u
= 0;
MS\Internal\PtsHost\Pts.cs (4)
866
internal FSRECT(int inU, int inV, int inDU, int inDV) {
u
= inU; v=inV; du = inDU; dv = inDV; }
867
internal FSRECT(FSRECT rect) {
u
= rect.u; v=rect.v; du = rect.du; dv = rect.dv; }
872
u
= TextDpi.ToTextDpi(rect.Left);
879
u
= v = du = dv = 0;
MS\Internal\PtsHost\Section.cs (1)
118
fsrcMargin.
u
= TextDpi.ToTextDpi(pageMargin.Left);
MS\Internal\PtsHost\SubpageParaClient.cs (3)
96
_contentRect.
u
= _rect.u + mbp.BPLeft;
101
_paddingRect.
u
= _rect.u + mbp.BorderLeft;
427
viewportSubpage.
u
= viewport.u - ContentRect.u;
MS\Internal\PtsHost\SubpageParagraph.cs (3)
287
fsbbox.fsrc.
u
= fsrcToFill.u + mbp.MarginLeft;
450
fsbbox.fsrc.
u
= urTrack + mbp.MarginLeft;
609
fsbbox.fsrc.
u
= urTrack + mbp.MarginLeft;
MS\Internal\PtsHost\TableParaClient.cs (1)
102
_rect.
u
+= mbp.MarginLeft;
MS\Internal\PtsHost\UIElementParaClient.cs (1)
78
_rect.
u
+= mbp.MarginLeft;
93 references to u
PresentationFramework (93)
MS\Internal\Documents\ColumnResult.cs (4)
50
TextDpi.FromTextDpi(trackDesc.fsrc.
u
), TextDpi.FromTextDpi(trackDesc.fsrc.v),
54
_columnOffset = new Vector(TextDpi.FromTextDpi(trackDesc.fsrc.
u
), TextDpi.FromTextDpi(trackDesc.fsrc.v));
71
TextDpi.FromTextDpi(trackDesc.fsrc.
u
), TextDpi.FromTextDpi(trackDesc.fsrc.v),
75
_columnOffset = new Vector(TextDpi.FromTextDpi(trackDesc.fsrc.
u
), TextDpi.FromTextDpi(trackDesc.fsrc.v));
MS\Internal\Documents\TextDocumentView.cs (1)
2588
positionOut = GetPositionAtNextLineFromSiblingPara(nestedParagraphs, nesteParagraphIndex, suggestedX - TextDpi.FromTextDpi(cpcCur.Rect.
u
), ref count);
MS\Internal\PtsHost\CellParaClient.cs (5)
105
_rect.u = du + rcTable.
u
;
333
transform = new TranslateTransform(-TextDpi.FromTextDpi(ContentRect.
u
), -TextDpi.FromTextDpi(ContentRect.v));
346
transform = new TranslateTransform(TextDpi.FromTextDpi(ContentRect.
u
), TextDpi.FromTextDpi(ContentRect.v));
449
_rectTable = new Rect(TextDpi.FromTextDpi(tpc.Rect.
u
),
454
_rectCell = new Rect(TextDpi.FromTextDpi(cpc.Rect.
u
),
MS\Internal\PtsHost\ContainerParagraph.cs (5)
528
fsrcToFillSubtrack.u = Math.Max(Math.Min(fsrcToFillSubtrack.
u
, fsrcToFill.
u
+ fsrcToFill.du - 1), fsrcToFill.
u
);
677
urTrack = fsrcToFillSubtrack.
u
;
807
urTrack = fsrcToFillSubtrack.
u
;
MS\Internal\PtsHost\FigureParaClient.cs (10)
83
_contentRect.u = _rect.
u
+ mbp.BPLeft;
88
_paddingRect.u = _rect.
u
+ mbp.BorderLeft;
149
viewportSubpage.u = viewport.
u
- ContentRect.
u
;
243
pt = new PTS.FSPOINT(pt.u - ContentRect.
u
, pt.v - ContentRect.v);
336
rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.
u
), TextDpi.FromTextDpi(ContentRect.v));
475
pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.
u
, ContentRect.v).FromTextDpi();
476
floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.
u
, ContentRect.v).FromTextDpi();
478
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.
u
- _contentRect.
u
, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
MS\Internal\PtsHost\FigureParagraph.cs (12)
401
fsrcOverlap.u = (fsrcFlow.
u
+ fsrcFlow.du + duGapWidth) - fsrcOverlap.du;
405
fsrcSearch.u = fsrcOverlap.
u
;
544
uComparisonPoint = fsrcInColumn.
u
;
548
uComparisonPoint = fsrcInColumn.
u
+ fsrcInColumn.du - 1; // du is non-inclusive
552
uComparisonPoint = fsrcInColumn.
u
+ (fsrcInColumn.du / 2) - 1; // du is non-inclusive
564
int affectedColumn = (uComparisonPoint - StructuralCache.CurrentFormatContext.PageMarginRect.
u
) / duColumnTotal;
565
int columnLeft = StructuralCache.CurrentFormatContext.PageMarginRect.
u
+ affectedColumn * duColumnTotal;
568
int totalMarginLeft = columnLeft - fsrcInColumn.
u
;
569
int totalMarginRight = (columnLeft + columnDU) - (fsrcInColumn.
u
+ fsrcInColumn.du);
662
fsrcSearch.u = fsrcPage.
u
;
667
fsrcSearch.u = fsrcMargin.
u
;
672
fsrcSearch.u = fsrcTrack.
u
;
MS\Internal\PtsHost\FloaterParaClient.cs (11)
133
viewportSubpage.u = viewport.
u
- ContentRect.
u
;
181
rcFloater.u = rcHostPara.
u
+ (rcHostPara.du - rcFloater.du) / 2;
204
_contentRect.u = _rect.
u
+ mbp.BPLeft;
209
_paddingRect.u = _rect.
u
+ mbp.BorderLeft;
247
pt = new PTS.FSPOINT(pt.u - ContentRect.
u
, pt.v - ContentRect.v);
340
rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.
u
), TextDpi.FromTextDpi(ContentRect.v));
481
pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.
u
, ContentRect.v).FromTextDpi();
482
floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.
u
, ContentRect.v).FromTextDpi();
484
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.
u
- _contentRect.
u
, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
MS\Internal\PtsHost\ListParaClient.cs (2)
101
ctx.PushTransform(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * listItemParaClient.Rect.
u
+ listItemParaClient.Rect.du), 0.0));
114
listMarkerLine.FormatAndDrawVisual(ctx, lineProps, listItemParaClient.Rect.
u
, dvBaseline);
MS\Internal\PtsHost\Pts.cs (7)
867
internal FSRECT(FSRECT rect) { u = rect.
u
; v=rect.v; du = rect.du; dv = rect.dv; }
888
return rect1.
u
== rect2.
u
&& rect1.v == rect2.v && rect1.du == rect2.du && rect1.dv == rect2.dv;
905
return
u
.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^ dv.GetHashCode();
913
return new Rect(TextDpi.FromTextDpi(
u
), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(dv));
921
return (point.u >=
u
&& point.u <=
u
+ du && point.v >= v && point.v <= v + dv);
MS\Internal\PtsHost\SectionVisual.cs (3)
52
int gapWidth = (arrayColumnDesc[1].fsrc.
u
- (arrayColumnDesc[0].fsrc.
u
+ arrayColumnDesc[0].fsrc.du)) / 2;
56
double u = TextDpi.FromTextDpi(arrayColumnDesc[index].fsrc.
u
- gapWidth);
MS\Internal\PtsHost\SubpageParaClient.cs (10)
96
_contentRect.u = _rect.
u
+ mbp.BPLeft;
101
_paddingRect.u = _rect.
u
+ mbp.BorderLeft;
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();
410
PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.
u
- _contentRect.
u
, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
427
viewportSubpage.u = viewport.
u
- ContentRect.
u
;
MS\Internal\PtsHost\SubpageParagraph.cs (6)
246
fsrcToFill.du = Math.Max(fsrcToFill.du, fsbbox.fsrc.du + fsbbox.fsrc.
u
);
287
fsbbox.fsrc.u = fsrcToFill.
u
+ mbp.MarginLeft;
363
urTrack = fsrcToFillSubpage.
u
;
442
durTrack = Math.Max(durTrack, fsbbox.fsrc.du + fsbbox.fsrc.
u
);
523
urTrack = fsrcToFillSubpage.
u
;
601
durTrack = Math.Max(durTrack, fsbbox.fsrc.du + fsbbox.fsrc.
u
);
MS\Internal\PtsHost\TableParaClient.cs (12)
645
if (u >= rect.
u
&& u <= (rect.
u
+ rect.du) &&
652
int du = Math.Min(Math.Abs(rect.
u
- u), Math.Abs(rect.
u
+ rect.du - u));
995
if(suggestedU >= cpc.Rect.
u
&& suggestedU <= (cpc.Rect.
u
+ cpc.Rect.du))
1001
int iDistance = Math.Abs((cpc.Rect.
u
+ cpc.Rect.du / 2) - suggestedU);
1071
if(suggestedU >= cpc.Rect.
u
&& suggestedU <= (cpc.Rect.
u
+ cpc.Rect.du))
1077
int iDistance = Math.Abs((cpc.Rect.
u
+ cpc.Rect.du / 2) - suggestedU);
1143
return new Rect( TextDpi.FromTextDpi(rectTable.
u
+ rectTable.du),
2424
return new PTS.FSRECT(_rect.
u
+ mbpInfo.BPLeft,
MS\Internal\PtsHost\TextParaClient.cs (2)
145
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, lineContainerVisual, TextDpi.FromTextDpi(2 * pageRect.
u
+ pageRect.du));
762
transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * _pageContext.PageRect.
u
+ _pageContext.PageRect.du), 0.0);
MS\Internal\PtsHost\UIElementParaClient.cs (2)
109
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.
u
+ _rect.du));
129
uiElementIsland.Offset = new PTS.FSVECTOR(_rect.
u
+ mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
MS\Internal\Text\TextDpi.cs (1)
97
FromTextDpi(fsrect.
u
),