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

Method pic_with_off

tests/shapes/test_base.py:480–487  ·  view source on GitHub ↗
(self, left, top)

Source from the content-addressed store, hash-verified

478
479 @pytest.fixture
480 def pic_with_off(self, left, top):
481 return (
482 a_pic()
483 .with_nsdecls()
484 .with_child(
485 an_spPr().with_child(an_xfrm().with_child(an_off().with_x(left).with_y(top)))
486 )
487 ).element
488
489 @pytest.fixture
490 def pic_with_ext(self, width, height):

Callers

nothing calls this directly

Calls 6

a_picFunction · 0.85
an_spPrFunction · 0.85
an_xfrmFunction · 0.85
an_offFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.80

Tested by

no test coverage detected