ref_iface_IVDXAContext_FillRects - shekh/VirtualDub2 GitHub Wiki

VirtualDub Plugin SDK 1.2

IVDXAContext interface

IVDXAContext:: FillRects

Fills rectangular regions of a render target with a solid color.

void FillRects(uint32 renderTargetHandle, uint32 rectCount, const VDXRect *rects, uint32 colorARGB);

Parameters

renderTargetHandle Handle of render target on which to draw; must be valid (non-zero).
rectCount Number of rectangles.
rects Pointer to array of rectangles to fill.
colorARGB Fill color to use, represented as a 32-bit ARGB color in the form 0xAARRGGBB. This format is independent of the format of the render target.

Thread safety

This method is not thread-safe.

Remarks

Empty rectangles are silently discarded and rectangles outside of the render target bounds are clipped.

As a special case, if rects is NULL and rectCount > 0, the entire render target is filled. This avoids the need to manually query the render target dimensions.


Copyright (C) 2007-2012 Avery Lee.

⚠️ **GitHub.com Fallback** ⚠️