public override Box CreateBox() { if (generatedBox != null) { return(generatedBox); } generatedBox = AttrTransformationBox.Get(this, EndAtom == null ? null : (AttrTransformationBox)EndAtom.CreateBox()); //ScaleTransformation(ref generatedBox.matrix, Vector3.one * TexContext.Scale); return(generatedBox); }
public override Box CreateBox(TexStyle style) { if (generatedBox != null) { return(generatedBox); } generatedBox = AttrTransformationBox.Get(this, EndAtom == null ? null : (AttrTransformationBox)EndAtom.CreateBox(style)); //ScaleTransformation(ref generatedBox.matrix, Vector3.one * TexUtility.SizeFactor(style)); return(generatedBox); }