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)