MCPcopy Index your code
hub / github.com/clips/pattern / get_width

Method get_width

pattern/web/pdf/pdffont.py:480–484  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

478 return self.descent * self.vscale
479
480 def get_width(self):
481 w = self.bbox[2]-self.bbox[0]
482 if w == 0:
483 w = -self.default_width
484 return w * self.hscale
485 def get_height(self):
486 h = self.bbox[3]-self.bbox[1]
487 if h == 0:

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected