Catalysis of the reaction: trans-cinnamoyl-CoA + 3 H(+) + 3 malonyl-CoA = 4 CO(2) + 4 CoA + pinosylvin.