// Token: 0x06006B3A RID: 27450 RVA: 0x001EF850 File Offset: 0x001EDA50 internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.FormattingContext ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine) { TextDpi.EnsureValidLineWidth(ref width); this._currentLine = line; TextLineBreak textLineBreak = null; if (pbrLineIn != IntPtr.Zero) { LineBreakRecord lineBreakRecord = base.PtsContext.HandleToObject(pbrLineIn) as LineBreakRecord; PTS.ValidateHandle(lineBreakRecord); textLineBreak = lineBreakRecord.TextLineBreak; } try { line.Format(ctx, dcp, width, trackWidth, this.GetLineProperties(firstLine, dcpLine), textLineBreak); } finally { this._currentLine = null; } }