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)); 3058formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d); 3089cf.Width.Value = Converters.PxToTwipRounded(d); 3192formatState.LI = Converters.PxToTwipRounded(thickness.Left); 3193formatState.RI = Converters.PxToTwipRounded(thickness.Right); 3194formatState.SB = Converters.PxToTwipRounded(thickness.Top); 3195formatState.SA = Converters.PxToTwipRounded(thickness.Bottom); 3208formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left); 3214cf.PaddingLeft = Converters.PxToTwipRounded(t.Left); 3215cf.PaddingRight = Converters.PxToTwipRounded(t.Right); 3216cf.PaddingTop = Converters.PxToTwipRounded(t.Top); 3217cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom); 3232pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3234pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3236pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3238pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3245cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3247cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3249cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3251cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3281formatState.FI = Converters.PxToTwipRounded(ti); 3290formatState.SL = Converters.PxToTwipRounded(sl);