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

Method pic_with_ext

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

Source from the content-addressed store, hash-verified

488
489 @pytest.fixture
490 def pic_with_ext(self, width, height):
491 return (
492 a_pic()
493 .with_nsdecls()
494 .with_child(
495 an_spPr().with_child(an_xfrm().with_child(an_ext().with_cx(width).with_cy(height)))
496 )
497 ).element
498
499 @pytest.fixture
500 def _PlaceholderFormat_(self, request, placeholder_format_):

Callers

nothing calls this directly

Calls 6

a_picFunction · 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