6 writes to PixelsPerDip
PresentationCore (2)
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
53
PixelsPerDip
= defaultRunProperties.PixelsPerDip;
System\Windows\Media\FormattedText.cs (1)
1816
PixelsPerDip
= _that.PixelsPerDip;
PresentationFramework (4)
MS\Internal\Documents\TextBoxLine.cs (1)
39
PixelsPerDip
= _owner.GetDpi().PixelsPerDip;
MS\Internal\PtsHost\TextFormatterHost.cs (1)
32
PixelsPerDip
= pixelsPerDip;
MS\Internal\Text\Line.cs (1)
65
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)
94
: this(settings.TextFormattingMode, settings.Pap.Justify, settings.TextSource.
PixelsPerDip
)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
426
lstTextMetrics.dvAscent = (int)Math.Round(typeface.Baseline(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.
PixelsPerDip
, fullText.TextFormattingMode));
427
lstTextMetrics.dvMultiLineHeight = (int)Math.Round(typeface.LineSpacing(store.Pap.EmSize, Constants.DefaultIdealToReal, store.Settings.TextSource.
PixelsPerDip
, fullText.TextFormattingMode));
1722
(float)FullText.StoreFrom(lsrunFirst.Type).Settings.TextSource.
PixelsPerDip
,
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
235
textSource.
PixelsPerDip
MS\Internal\TextFormatting\TextMarkerSource.cs (2)
85
PixelsPerDip
,
150
_textRunProperties.PixelsPerDip =
PixelsPerDip
;
MS\Internal\TextFormatting\TextMetrics.cs (1)
130
_pixelsPerDip = store.Settings.TextSource.
PixelsPerDip
;
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
171
textRun.Properties.PixelsPerDip = settings.TextSource.
PixelsPerDip
;
MS\Internal\TextFormatting\TextStore.cs (3)
2348
metrics = textObject.Format(_settings.Formatter.IdealToReal(widthLeft, _settings.TextSource.
PixelsPerDip
));
2355
_settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.
PixelsPerDip
),
2360
else if (metrics.Width > _settings.Formatter.IdealToReal((Constants.IdealInfiniteWidth - currentPosition), _settings.TextSource.
PixelsPerDip
))
System\Windows\Media\FormattedText.cs (1)
1844
properties.PixelsPerDip = this.
PixelsPerDip
;
PresentationFramework (53)
MS\Internal\Documents\ParagraphResult.cs (3)
942
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1057
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1229
MbpInfo mbp = MbpInfo.FromElement(_paraClient.Paragraph.Element, _paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\Documents\TextBoxLine.cs (1)
95
run.Properties.PixelsPerDip = this.
PixelsPerDip
;
MS\Internal\PtsHost\ContainerParaClient.cs (2)
51
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
183
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
492
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
637
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
767
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FigureParaClient.cs (3)
67
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
190
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
350
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FigureParagraph.cs (1)
136
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FloaterParaClient.cs (2)
182
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
357
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\FloaterParagraph.cs (3)
222
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
413
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
648
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\LineBase.cs (3)
97
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
167
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
308
_paraClient.Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\ListParaClient.cs (2)
50
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
63
Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\RowParagraph.cs (1)
140
MbpInfo mbpInfo = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\SubpageParaClient.cs (2)
71
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
286
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
158
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
340
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
500
mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TableParaClient.cs (7)
86
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
192
MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
680
MbpInfo mbpInfo = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
955
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
1981
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
2014
MbpInfo mbpInfo = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
2430
MbpInfo mbp = MbpInfo.FromElement(TableParagraph.Element, TableParagraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TableParagraph.cs (2)
94
MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
173
MbpInfo mbp = MbpInfo.FromElement(Table, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\TextFormatterHost.cs (1)
45
run.Properties.PixelsPerDip =
PixelsPerDip
;
MS\Internal\PtsHost\TextParagraph.cs (2)
1484
if (_lineProperties == null || (_lineProperties != null && _lineProperties.DefaultTextRunProperties.PixelsPerDip != StructuralCache.TextFormatterHost.
PixelsPerDip
))
1494
StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\UIElementParaClient.cs (2)
65
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
101
MbpInfo mbp = MbpInfo.FromElement(Paragraph.Element, Paragraph.StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\PtsHost\UIElementParagraph.cs (5)
108
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
212
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
313
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
362
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
389
MbpInfo mbp = MbpInfo.FromElement(Element, StructuralCache.TextFormatterHost.
PixelsPerDip
);
MS\Internal\Text\ComplexLine.cs (4)
68
run.Properties.PixelsPerDip = this.
PixelsPerDip
;
348
TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */,
PixelsPerDip
);
397
TextRunProperties textProps = new TextProperties(element, position, false /* inline objects */, true /* get background */,
PixelsPerDip
);
530
TextRunProperties textProps = new TextProperties(element, position, true /* inline objects */, true /* get background */,
PixelsPerDip
);
MS\Internal\Text\SimpleLine.cs (1)
63
run.Properties.PixelsPerDip = this.
PixelsPerDip
;