mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-26 11:36:58 -06:00
PowerPoint draws a picture's own fill (p:pic/p:spPr) behind the picture, so it shows through its transparent pixels: a synthetic deck with one half-transparent PNG three times (no fill, an orange fill, a yellow fill with a blue outline), exported as PDF, shows the orange and yellow boxes behind the image. DeckCraft drew the outline but never the fill. Old equation objects use this: an OLE object (p:oleObj, Equation.3) has a fallback picture whose spPr gives it a coloured box behind the equation's transparent metafile. The reader took only the picture's image as the object's preview and dropped its fill and line. - The shape-fill loop moves into Renderer::fill_geometry; a picture and an embedded object's preview paint their own explicit fill with it before the image (a style fill alone still draws nothing, as before). - An embedded object without a fill or line of its own takes them from its fallback picture's spPr; its frame keeps its own position. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>