MCPcopy Create free account
hub / github.com/PageBot/PageBot / build_html

Method build_html

Lib/pagebot/elements/table.py:168–174  ·  view source on GitHub ↗
(self, view, origin=None, **kwargs)

Source from the content-addressed store, hash-verified

166 # H T M L / S A S S S U P P O R T
167
168 def build_html(self, view, origin=None, **kwargs):
169 p = pointOffset(self.origin, origin)
170 p = self._applyScale(view, p)
171 px, py, _ = p = self._applyAlignment(p) # Ignore z-axis for now.
172 self.buildChildElements(view, p, **kwargs)
173 self._restoreScale(view)
174 view.drawElementInfo(self, origin) # Depends on css flag 'showElementInfo'

Callers

nothing calls this directly

Calls 6

pointOffsetFunction · 0.90
_applyScaleMethod · 0.80
_applyAlignmentMethod · 0.80
buildChildElementsMethod · 0.80
_restoreScaleMethod · 0.80
drawElementInfoMethod · 0.45

Tested by

no test coverage detected