Closed mikeversteeg closed 1 year ago
See SimdDrawing.hpp
There's no additional information about SimdFill
(or SimdFillFrame
) there, only about C++ functions which I do not use.
Simd implements drawing algorithms only in SimdDrawing.hpp. This implementation is not optimized and is used for debug purposes.
I know, but I did expect it to work. No problem, I now draw 4 filled rectangles to create the frame.
I'm trying to draw a rectangle with a linewidth of 2. This works but fills the rectangle:
SimdFill(pVideo+r.Left+r.Top*iWidth, iWidth, r.Width(), r.Height(), 1, y);
so I thought I could skip the area encompassed by the rectangle like this
but this gives an AV. Figuring I may have misunderstood the documentation I also tried width=-2 but that also gives an AV. The specified rectangle is well within the bounds of the video frame.
Is this a bug or am I misunderstanding the way this function works?