MCPcopy Create free account
hub / github.com/scanny/python-pptx / sp_with_ext

Method sp_with_ext

tests/shapes/test_base.py:546–553  ·  view source on GitHub ↗
(self, width, height)

Source from the content-addressed store, hash-verified

544
545 @pytest.fixture
546 def sp_with_ext(self, width, height):
547 return (
548 an_sp()
549 .with_nsdecls()
550 .with_child(
551 an_spPr().with_child(an_xfrm().with_child(an_ext().with_cx(width).with_cy(height)))
552 )
553 ).element
554
555 @pytest.fixture
556 def sp_with_off(self, left, top):

Callers

nothing calls this directly

Calls 6

an_spFunction · 0.85
an_spPrFunction · 0.85
an_xfrmFunction · 0.85
an_extFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.80

Tested by

no test coverage detected