def build_styled_text(self):
     baseline = self.ALIGN_TO_BASELINE.get(self.get('align'))
     return rt.InlineImage(self.image_path, baseline=baseline)
示例#2
0
文件: nodes.py 项目: frol/rinohtype
 def build_styled_text(self):
     return rt.InlineImage(self.image_path)