6 writes to PixelsPerDip
PresentationCore (2)
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
59
PixelsPerDip
= defaultRunProperties.PixelsPerDip;
System\Windows\Media\FormattedText.cs (1)
1852
PixelsPerDip
= _that.PixelsPerDip;
PresentationFramework (4)
MS\Internal\Documents\TextBoxLine.cs (1)
46
PixelsPerDip
= _owner.GetDpi().PixelsPerDip;
MS\Internal\PtsHost\TextFormatterHost.cs (1)
35
PixelsPerDip
= pixelsPerDip;
MS\Internal\Text\Line.cs (1)
72
PixelsPerDip
= _owner.GetDpi().PixelsPerDip;
System\Windows\Documents\FlowDocument.cs (1)
756
StructuralCache.TextFormatterHost.
PixelsPerDip
= _pixelsPerDip;
66 references to PixelsPerDip
PresentationCore (13)
MS\Internal\TextFormatting\FullTextLine.cs (1)
109
: this(settings.TextFormattingMode, settings.Pap.Justify, settings.TextSource.
PixelsPerDip
)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
456
lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.
PixelsPerDip
, fullText.TextFormattingMode));
457
lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.
PixelsPerDip
, fullText.TextFormattingMode));
1750
(float)FullText.StoreFrom(lsrunFirst.Type).Settings.TextSource.
PixelsPerDip
,
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
258
textSource.
PixelsPerDip
MS\Internal\TextFormatting\TextMarkerSource.cs (2)
91
PixelsPerDip
,
156
_textRunProperties.PixelsPerDip =
PixelsPerDip
;
MS\Internal\TextFormatting\TextMetrics.cs (1)
145
_pixelsPerDip = store.Settings.TextSource.
PixelsPerDip
;
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
185
textRun.Properties.PixelsPerDip = settings.TextSource.
PixelsPerDip
;
MS\Internal\TextFormatting\TextStore.cs (3)
2363
metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.
PixelsPerDip
));
2370
_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.
PixelsPerDip
),
2375
else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.
PixelsPerDip
))
System\Windows\Media\FormattedText.cs (1)
1880
properties.PixelsPerDip = this.
PixelsPerDip
;
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (3)
945
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1060
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1232
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\Documents\TextBoxLine.cs (1)
102
run.Properties.PixelsPerDip = this.
PixelsPerDip
;
MS\Internal\PtsHost\ContainerParaClient.cs (2)
56
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
188
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
515
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
660
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
790
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FigureParaClient.cs (3)
76
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
198
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
358
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FigureParagraph.cs (1)
147
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FloaterParaClient.cs (2)
189
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
364
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FloaterParagraph.cs (3)
229
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
416
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
657
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\LineBase.cs (3)
107
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
177
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
318
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\ListParaClient.cs (2)
54
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
67
Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\RowParagraph.cs (1)
143
MbpInfo mbpInfo = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
76
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
291
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
173
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
355
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
515
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TableParaClient.cs (7)
92
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
198
MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
686
MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
961
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1987
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
2020
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
2436
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TableParagraph.cs (2)
106
MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
186
MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TextFormatterHost.cs (1)
48
run.Properties.PixelsPerDip =
PixelsPerDip
;
MS\Internal\PtsHost\TextParagraph.cs (2)
1513
if (_lineProperties == null || (_lineProperties != null && _lineProperties.DefaultTextRunProperties.PixelsPerDip != StructuralCache.TextFormatterHost.
PixelsPerDip
))
1523
StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\UIElementParaClient.cs (2)
69
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
105
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\UIElementParagraph.cs (5)
120
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
221
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
314
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
361
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
388
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\Text\ComplexLine.cs (4)
73
run.Properties.PixelsPerDip = this.
PixelsPerDip
;
353
TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */,
PixelsPerDip
);
402
TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */,
PixelsPerDip
);
535
TextRunProperties textProps = new TextProperties(element, position, true /* inline objects */, true /* get background */,
PixelsPerDip
);
MS\Internal\Text\SimpleLine.cs (1)
68
run.Properties.PixelsPerDip = this.
PixelsPerDip
;