void __stdcall rasRedraw(IRAS RasPtr, HDC DC, int32_t DestX, int32_t DestY);
procedure rasRedraw(RasPtr: IRAS; DC: HDC; DestX, DestY: Integer); stdcall;
Purpose. Blit an already-rendered IRAS rasterizer's buffer to a device context — the single-buffer counterpart to rasPaint's full page-cache paint loop.
Description. A real, direct ViewerBlitRGB call of the rasterizer's own RGB buffer to (DestX, DestY) in DC — no re-rendering occurs here, it purely repaints whatever the rasterizer last produced (via rasCreateRasterizer(Ex)/rasResizeBitmap/ rasAttachImageBuffer, all of which re-render on their own). Per an inline comment, this was historically a no-op ("Was a no-op; now the viewer can repaint from the cached buffer").
Parameters.
| Parameter | Description |
|---|---|
RasPtr | Source rasterizer. |
DC | Destination device context. |
DestX, DestY | Blit destination. |
Return value. None.
C# (P/Invoke)
public static extern void rasRedraw(IntPtr RasPtr, UIntPtr DC, int DestX, int DestY);
Rasterizer/Rendering
rasRedraw
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.