39 writes to u
PresentationFramework (39)
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (2)
117_rect.u = du + rcTable.u; 190rectCell.u = rectCell.v = 0;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (1)
74_rect.u += mbp.MarginLeft;
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (5)
538fsrcToFillSubtrack.u += mbp.MBPLeft; 540fsrcToFillSubtrack.u = Math.Max(Math.Min(fsrcToFillSubtrack.u, fsrcToFill.u + fsrcToFill.du - 1), fsrcToFill.u); 627fsbbox.fsrc.u -= mbp.MBPLeft; 764fsbbox.fsrc.u -= mbp.MBPLeft; 901fsbbox.fsrc.u -= mbp.MBPLeft;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (4)
103_contentRect.u = _rect.u + mbp.BPLeft; 108_paddingRect.u = _rect.u + mbp.BorderLeft; 176viewportSubpage.u = viewport.u - ContentRect.u; 228_rect.u += mbp.MarginLeft;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (7)
382fsrcFlow.u += CalculateParagraphToColumnOffset(horizAnchor, fsrcFigurePreliminary); 386fsrcFlow.u += TextDpi.ToTextDpi(element.HorizontalOffset); 415fsrcOverlap.u = (fsrcFlow.u + fsrcFlow.du + duGapWidth) - fsrcOverlap.du; 419fsrcSearch.u = fsrcOverlap.u; 684fsrcSearch.u = fsrcPage.u; 689fsrcSearch.u = fsrcMargin.u; 694fsrcSearch.u = fsrcTrack.u;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (5)
158viewportSubpage.u = viewport.u - ContentRect.u; 206rcFloater.u = rcHostPara.u + (rcHostPara.du - rcFloater.du) / 2; 217_rect.u += mbp.MarginLeft; 229_contentRect.u = _rect.u + mbp.BPLeft; 234_paddingRect.u = _rect.u + mbp.BorderLeft;
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (2)
337fsbbox.fsrc.u = 0; 527fsbbox.fsrc.u = 0;
src\Framework\MS\Internal\PtsHost\Pts.cs (4)
905internal FSRECT(int inU, int inV, int inDU, int inDV) { u = inU; v=inV; du = inDU; dv = inDV; } 906internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.dv; } 911u = TextDpi.ToTextDpi(rect.Left); 918u = v = du = dv = 0;
src\Framework\MS\Internal\PtsHost\Section.cs (1)
122fsrcMargin.u = TextDpi.ToTextDpi(pageMargin.Left);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (3)
115_contentRect.u = _rect.u + mbp.BPLeft; 120_paddingRect.u = _rect.u + mbp.BorderLeft; 479viewportSubpage.u = viewport.u - ContentRect.u;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
300fsbbox.fsrc.u = fsrcToFill.u + mbp.MarginLeft; 475fsbbox.fsrc.u = urTrack + mbp.MarginLeft; 643fsbbox.fsrc.u = urTrack + mbp.MarginLeft;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
114_rect.u += mbp.MarginLeft;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
85_rect.u += mbp.MarginLeft;
93 references to u
PresentationFramework (93)
src\Framework\MS\Internal\Documents\ColumnResult.cs (4)
60TextDpi.FromTextDpi(trackDesc.fsrc.u), TextDpi.FromTextDpi(trackDesc.fsrc.v), 64_columnOffset = new Vector(TextDpi.FromTextDpi(trackDesc.fsrc.u), TextDpi.FromTextDpi(trackDesc.fsrc.v)); 85TextDpi.FromTextDpi(trackDesc.fsrc.u), TextDpi.FromTextDpi(trackDesc.fsrc.v), 89_columnOffset = new Vector(TextDpi.FromTextDpi(trackDesc.fsrc.u), TextDpi.FromTextDpi(trackDesc.fsrc.v));
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
2596positionOut = GetPositionAtNextLineFromSiblingPara(nestedParagraphs, nesteParagraphIndex, suggestedX - TextDpi.FromTextDpi(cpcCur.Rect.u), ref count);
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (5)
117_rect.u = du + rcTable.u; 360transform = new TranslateTransform(-TextDpi.FromTextDpi(ContentRect.u), -TextDpi.FromTextDpi(ContentRect.v)); 373transform = new TranslateTransform(TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 477_rectTable = new Rect(TextDpi.FromTextDpi(tpc.Rect.u), 482_rectCell = new Rect(TextDpi.FromTextDpi(cpc.Rect.u),
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (5)
540fsrcToFillSubtrack.u = Math.Max(Math.Min(fsrcToFillSubtrack.u, fsrcToFill.u + fsrcToFill.du - 1), fsrcToFill.u); 696urTrack = fsrcToFillSubtrack.u; 833urTrack = fsrcToFillSubtrack.u;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (10)
103_contentRect.u = _rect.u + mbp.BPLeft; 108_paddingRect.u = _rect.u + mbp.BorderLeft; 176viewportSubpage.u = viewport.u - ContentRect.u; 278pt = new PTS.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v); 379rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 526pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 527floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 529PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (12)
415fsrcOverlap.u = (fsrcFlow.u + fsrcFlow.du + duGapWidth) - fsrcOverlap.du; 419fsrcSearch.u = fsrcOverlap.u; 566uComparisonPoint = fsrcInColumn.u; 570uComparisonPoint = fsrcInColumn.u + fsrcInColumn.du - 1; // du is non-inclusive 574uComparisonPoint = fsrcInColumn.u + (fsrcInColumn.du / 2) - 1; // du is non-inclusive 586int affectedColumn = (uComparisonPoint - StructuralCache.CurrentFormatContext.PageMarginRect.u) / duColumnTotal; 587int columnLeft = StructuralCache.CurrentFormatContext.PageMarginRect.u + affectedColumn * duColumnTotal; 590int totalMarginLeft = columnLeft - fsrcInColumn.u; 591int totalMarginRight = (columnLeft + columnDU) - (fsrcInColumn.u + fsrcInColumn.du); 684fsrcSearch.u = fsrcPage.u; 689fsrcSearch.u = fsrcMargin.u; 694fsrcSearch.u = fsrcTrack.u;
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (11)
158viewportSubpage.u = viewport.u - ContentRect.u; 206rcFloater.u = rcHostPara.u + (rcHostPara.du - rcFloater.du) / 2; 229_contentRect.u = _rect.u + mbp.BPLeft; 234_paddingRect.u = _rect.u + mbp.BorderLeft; 280pt = new PTS.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v); 381rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 530pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 531floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 533PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (2)
111ctx.PushTransform(new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * listItemParaClient.Rect.u + listItemParaClient.Rect.du), 0.0)); 124listMarkerLine.FormatAndDrawVisual(ctx, lineProps, listItemParaClient.Rect.u, dvBaseline);
src\Framework\MS\Internal\PtsHost\Pts.cs (7)
906internal FSRECT(FSRECT rect) { u = rect.u; v=rect.v; du = rect.du; dv = rect.dv; } 927return rect1.u == rect2.u && rect1.v == rect2.v && rect1.du == rect2.du && rect1.dv == rect2.dv; 944return u.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^ dv.GetHashCode(); 952return new Rect(TextDpi.FromTextDpi(u), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(dv)); 960return (point.u >= u && point.u <= u + du && point.v >= v && point.v <= v + dv);
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (3)
54int gapWidth = (arrayColumnDesc[1].fsrc.u - (arrayColumnDesc[0].fsrc.u + arrayColumnDesc[0].fsrc.du)) / 2; 58double u = TextDpi.FromTextDpi(arrayColumnDesc[index].fsrc.u - gapWidth);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (10)
115_contentRect.u = _rect.u + mbp.BPLeft; 120_paddingRect.u = _rect.u + mbp.BorderLeft; 202pt = new PTS.FSPOINT(pt.u - ContentRect.u, pt.v - ContentRect.v); 305rectangles = PtsHelper.OffsetRectangleList(rectangles, TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v)); 450pageContentVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 451floatingElementsVisual.Offset = new PTS.FSVECTOR(ContentRect.u, ContentRect.v).FromTextDpi(); 453PTS.FSRECT clipRect = new PTS.FSRECT(_paddingRect.u - _contentRect.u, _paddingRect.v - _contentRect.v, _paddingRect.du, _paddingRect.dv); 479viewportSubpage.u = viewport.u - ContentRect.u;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (6)
259fsrcToFill.du = Math.Max(fsrcToFill.du, fsbbox.fsrc.du + fsbbox.fsrc.u); 300fsbbox.fsrc.u = fsrcToFill.u + mbp.MarginLeft; 388urTrack = fsrcToFillSubpage.u; 467durTrack = Math.Max(durTrack, fsbbox.fsrc.du + fsbbox.fsrc.u); 557urTrack = fsrcToFillSubpage.u; 635durTrack = Math.Max(durTrack, fsbbox.fsrc.du + fsbbox.fsrc.u);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (12)
694if (u >= rect.u && u <= (rect.u + rect.du) && 701int du = Math.Min(Math.Abs(rect.u - u), Math.Abs(rect.u + rect.du - u)); 1069if(suggestedU >= cpc.Rect.u && suggestedU <= (cpc.Rect.u + cpc.Rect.du)) 1075int iDistance = Math.Abs((cpc.Rect.u + cpc.Rect.du / 2) - suggestedU); 1151if(suggestedU >= cpc.Rect.u && suggestedU <= (cpc.Rect.u + cpc.Rect.du)) 1157int iDistance = Math.Abs((cpc.Rect.u + cpc.Rect.du / 2) - suggestedU); 1230return new Rect( TextDpi.FromTextDpi(rectTable.u + rectTable.du), 2545return new PTS.FSRECT(_rect.u + mbpInfo.BPLeft,
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
157PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, lineContainerVisual, TextDpi.FromTextDpi(2 * pageRect.u + pageRect.du)); 871transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, TextDpi.FromTextDpi(2 * _pageContext.PageRect.u + _pageContext.PageRect.du), 0.0);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
116PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.u + _rect.du)); 136uiElementIsland.Offset = new PTS.FSVECTOR(_rect.u + mbp.BPLeft, _rect.v + mbp.BPTop).FromTextDpi();
src\Framework\MS\Internal\Text\TextDpi.cs (1)
100FromTextDpi(fsrect.u),