• StefanBruens's avatar
    SplashPath: Allocate temporary pathes on the stack · 51f1c813
    StefanBruens authored
    The majority of SplashPath'es are created using
    convertPath(GfxState *, GfxPath *), and are only temporary,
    i.e. with function scope.
    Returning a SplashPath instead of a pointer from convertPath()
    - which is cheap due to the move constructor - saves recurrent
    new/delete's for each stroke/fill/... operation.
SplashOutputDev.cc 137 KB