The heat generated in NPN and PNP transistors is roughly equal to the voltage between the collector and the emitter multiplied by the emitter current. Vce * Ie.x