0

How do I create a tiled image background using the compositor API?

D2D bitmap brushes have SetExtendModeX/Y, but CompositionSurfaceBrush don't seem to have an equivalent.

TileEffect is marked "NoComposition".

I'd like to avoid creating screen-sized sufraces and tiling "manually" (i.e. with D2D).

Nikita Nemkin
  • 2,780
  • 22
  • 23

1 Answers1

0

BorderEffect is what I was looking for. It works with composition and supports the same extend modes as a D2D bitmap brush.

Nikita Nemkin
  • 2,780
  • 22
  • 23