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