6 writes to PixelsPerDip
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
62PixelsPerDip = defaultRunProperties.PixelsPerDip;
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1869PixelsPerDip = _that.PixelsPerDip;
PresentationFramework (4)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
48PixelsPerDip = _owner.GetDpi().PixelsPerDip;
src\Framework\MS\Internal\PtsHost\TextFormatterHost.cs (1)
38PixelsPerDip = pixelsPerDip;
src\Framework\MS\Internal\Text\Line.cs (1)
75PixelsPerDip = _owner.GetDpi().PixelsPerDip;
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
764StructuralCache.TextFormatterHost.PixelsPerDip = _pixelsPerDip;
66 references to PixelsPerDip
PresentationCore (13)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
112: this(settings.TextFormattingMode, settings.Pap.Justify, settings.TextSource.PixelsPerDip)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
492lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 493lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.PixelsPerDip, fullText.TextFormattingMode)); 1858(float)FullText.StoreFrom(lsrunFirst.Type).Settings.TextSource.PixelsPerDip,
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
260textSource.PixelsPerDip
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (2)
94PixelsPerDip, 159_textRunProperties.PixelsPerDip = PixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
151_pixelsPerDip = store.Settings.TextSource.PixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
191textRun.Properties.PixelsPerDip = settings.TextSource.PixelsPerDip;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (3)
2373metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.PixelsPerDip)); 2380_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip), 2385else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.PixelsPerDip))
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1897properties.PixelsPerDip = this.PixelsPerDip;
PresentationFramework (53)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (3)
953MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1068MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1241MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
104run.Properties.PixelsPerDip = this.PixelsPerDip;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
67MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 221MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (3)
527MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 679MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 816MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (3)
96MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 225MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 409MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
157mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
214MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 413MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (3)
237mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 431mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 672MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\LineBase.cs (3)
111_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 182_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 323_paraClient.Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (2)
64MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 77Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
149MbpInfo mbpInfo = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
95MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 334MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (3)
186mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 380mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 549mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (7)
104MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 218MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 741MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 1035MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip); 2108MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 2141MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 2557MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (2)
110MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip); 190MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\TextFormatterHost.cs (1)
51run.Properties.PixelsPerDip = PixelsPerDip;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
1521if (_lineProperties == null || (_lineProperties != null && _lineProperties.DefaultTextRunProperties.PixelsPerDip != StructuralCache.TextFormatterHost.PixelsPerDip)) 1531StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
76MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip); 112MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (5)
119MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 220MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 313MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 360MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip); 387MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.PixelsPerDip);
src\Framework\MS\Internal\Text\ComplexLine.cs (4)
76run.Properties.PixelsPerDip = this.PixelsPerDip; 358TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */, PixelsPerDip); 408TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */, PixelsPerDip); 542TextRunProperties textProps = new TextProperties(element, position, true /* inline objects */, true /* get background */, PixelsPerDip);
src\Framework\MS\Internal\Text\SimpleLine.cs (1)
71run.Properties.PixelsPerDip = this.PixelsPerDip;