com.agog.mathdisplay.render / MTTypesetter

MTTypesetter

class MTTypesetter : Any

Constructors

<init> MTTypesetter(font: MTFont, linestyle: MTLineStyle, cramped: Boolean = false, spaced: Boolean = false)

Properties

cramped var cramped: Boolean
currentAtoms var currentAtoms: MutableList<MTMathAtom>
currentLine var currentLine: String
currentLineIndexRange var currentLineIndexRange: NSRange
currentPosition val currentPosition: CGPoint
displayAtoms var displayAtoms: MutableList<MTDisplay>
font val font: MTFont
spaced var spaced: Boolean
style var style: MTLineStyle
styleFont var styleFont: MTFont

Functions

denominatorGapMin fun denominatorGapMin(): Float
denominatorShiftDown fun denominatorShiftDown(hasRule: Boolean): Float
fractionDelimiterHeight fun fractionDelimiterHeight(): Float
numeratorGapMin fun numeratorGapMin(): Float
numeratorShiftUp fun numeratorShiftUp(hasRule: Boolean): Float
stackGapMin fun stackGapMin(): Float

Companion Object Functions

createLineForMathList fun createLineForMathList(mathList: MTMathList, font: MTFont, style: MTLineStyle): MTMathListDisplay
fun createLineForMathList(mathList: MTMathList, font: MTFont, style: MTLineStyle, cramped: Boolean): MTMathListDisplay
preprocessMathList fun preprocessMathList(ml: MTMathList): MutableList<MTMathAtom>