6 writes to PixelsPerDip
PresentationCore (2)
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
53PixelsPerDip = defaultRunProperties.PixelsPerDip;
System\Windows\Media\FormattedText.cs (1)
1836PixelsPerDip = _that.PixelsPerDip;
PresentationFramework (4)
MS\Internal\Documents\TextBoxLine.cs (1)
39PixelsPerDip = _owner.GetDpi().PixelsPerDip;
MS\Internal\PtsHost\TextFormatterHost.cs (1)
32PixelsPerDip = pixelsPerDip;
MS\Internal\Text\Line.cs (1)
65PixelsPerDip = _owner.GetDpi().PixelsPerDip;
System\Windows\Documents\FlowDocument.cs (1)
756StructuralCache.TextFormatterHost.PixelsPerDip = _pixelsPerDip;
66 references to PixelsPerDip
PresentationCore (13)
MS\Internal\TextFormatting\FullTextLine.cs (1)
94: this(settings.TextFormattingMode, settings.Pap.Justify, settings.TextSource.PixelsPerDip)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
437lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 438lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 1731(float)FullText.StoreFrom(lsrunFirst.Type).Settings.TextSource.PixelsPerDip,
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
235textSource.PixelsPerDip
MS\Internal\TextFormatting\TextMarkerSource.cs (2)
85PixelsPerDip, 150_textRunProperties.PixelsPerDip = PixelsPerDip;
MS\Internal\TextFormatting\TextMetrics.cs (1)
130_pixelsPerDip = store.Settings.TextSource.PixelsPerDip;
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
171textRun.Properties.PixelsPerDip = settings.TextSource.PixelsPerDip;
MS\Internal\TextFormatting\TextStore.cs (3)
2348metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.PixelsPerDip)); 2355_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip), 2360else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip))
System\Windows\Media\FormattedText.cs (1)
1864properties.PixelsPerDip = this.PixelsPerDip;
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (3)
942MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1057MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1229MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\Documents\TextBoxLine.cs (1)
95run.Properties.PixelsPerDip = this.PixelsPerDip;
MS\Internal\PtsHost\ContainerParaClient.cs (2)
51MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 183MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
510MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 655MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 785MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\FigureParaClient.cs (3)
70MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 192MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 352MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\FigureParagraph.cs (1)
141mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\FloaterParaClient.cs (2)
184MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 359MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\FloaterParagraph.cs (3)
225mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 412mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 653MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\LineBase.cs (3)
101_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 171_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 312_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\ListParaClient.cs (2)
50MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 63Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\RowParagraph.cs (1)
139MbpInfo mbpInfo = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
71MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 286MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
168mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 350mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 510mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\TableParaClient.cs (7)
86MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 192MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 680MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 955MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1981MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 2014MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 2430MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\TableParagraph.cs (2)
98MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip); 178MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\TextFormatterHost.cs (1)
45run.Properties.PixelsPerDip = PixelsPerDip;
MS\Internal\PtsHost\TextParagraph.cs (2)
1506if (_lineProperties == null || (_lineProperties != null && _lineProperties.DefaultTextRunProperties.PixelsPerDip != StructuralCache.TextFormatterHost.PixelsPerDip)) 1516StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\UIElementParaClient.cs (2)
65MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 101MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\PtsHost\UIElementParagraph.cs (5)
117MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 218MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 311MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 358MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 385MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
MS\Internal\Text\ComplexLine.cs (4)
68run.Properties.PixelsPerDip = this.PixelsPerDip; 348TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */, PixelsPerDip); 397TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */, PixelsPerDip); 530TextRunProperties textProps = new TextProperties(element, position, true /* inline objects */, true /* get background */, PixelsPerDip);
MS\Internal\Text\SimpleLine.cs (1)
63run.Properties.PixelsPerDip = this.PixelsPerDip;