23 references to PxToTwipRounded
PresentationFramework (23)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (23)
2117
_rtfBuilder.Append(Converters.
PxToTwipRounded
(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture));
2121
_rtfBuilder.Append(Converters.
PxToTwipRounded
(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture));
3058
formatState.RowFormat.Trgaph = Converters.
PxToTwipRounded
(d);
3089
cf.Width.Value = Converters.
PxToTwipRounded
(d);
3192
formatState.LI = Converters.
PxToTwipRounded
(thickness.Left);
3193
formatState.RI = Converters.
PxToTwipRounded
(thickness.Right);
3194
formatState.SB = Converters.
PxToTwipRounded
(thickness.Top);
3195
formatState.SA = Converters.
PxToTwipRounded
(thickness.Bottom);
3208
formatState.ParaBorder.Spacing = Converters.
PxToTwipRounded
(t.Left);
3214
cf.PaddingLeft = Converters.
PxToTwipRounded
(t.Left);
3215
cf.PaddingRight = Converters.
PxToTwipRounded
(t.Right);
3216
cf.PaddingTop = Converters.
PxToTwipRounded
(t.Top);
3217
cf.PaddingBottom = Converters.
PxToTwipRounded
(t.Bottom);
3232
pf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3234
pf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3236
pf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3238
pf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3245
cf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3247
cf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3249
cf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3251
cf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3281
formatState.FI = Converters.
PxToTwipRounded
(ti);
3290
formatState.SL = Converters.
PxToTwipRounded
(sl);