|
THotPDF.RenderLoadedPageToBitmap
|
Top |
|
Vykreslí načítanú stránku do 24-bitovej bitmapy RGB GDI v zadanom rozlíšení DPI. Volajúci je zodpovedný za uvoľnenie bitmapy. Vráti nil v prípade zlyhania. Bitmapa pokrýva viditeľnú časť strany, jej
Syntax Delphi: function RenderLoadedPageToBitmap(PageIndex, DPI: Integer): TBitmap;
Popis Vykreslí načítanú stránku do 24-bitovej bitmapy RGB GDI v zadanom rozlíšení DPI. Volajúci je zodpovedný za uvoľnenie bitmapy. Vráti nil v prípade zlyhania. Tiling pattern streams are tokenised once per paint and reused across visible cells. Pattern matrices, cell bounding boxes, nested resources, graphics-state isolation, and colour suppression for uncoloured cells are honoured. Rendering rejects zero or near-zero steps, more than 16,384 cells per paint, and pattern nesting deeper than four levels Type 2 axial and Type 3 radial shadings evaluate their function objects through the declared colour space, honour the shading domain and extension flags, and work for bitmap and direct device-context rendering. Radial shadings use batched Gouraud triangles with transformed circle chord error bounded to 0.35 device pixels and adaptive colour subdivision bounded to two RGB levels, with a 262,144-triangle ceiling. The caller owns and must free a non-nil bitmap result
|