THotPDF.RenderLoadedPageBandsParallel Method

Usa bande orizzontali a tutta larghezza con lo stesso contratto di callback ordinato, cache condivisa, cancellation e budget di memoria del rendering parallelo a tile

Dichiarazione

function RenderLoadedPageBandsParallel(PageIndex, DPI,
    BandHeightPixels, MaxConcurrency: Integer; MaxWorkingBytes: Int64;
    Callback: THPDFRenderTileEvent): Integer; overload;

function RenderLoadedPageBandsParallel(PageIndex, DPI,
    BandHeightPixels, MaxConcurrency: Integer; MaxWorkingBytes: Int64;
    Callback: THPDFRenderTileEvent;
    out Info: THPDFParallelTileRenderInfo): Integer; overload;

Le bande vengono consegnate dall'alto in basso, ogni callback riceve i propri bounds in user space e la bitmap presa in prestito, e la cancellation rilascia tutti i worker e le prenotazioni non ancora pubblicati

THotPDF.RenderLoadedPageTilesParallel · Display Lists and Print Production