Hello,
What kind of primitives do you have in your path, lines? If so, you could
"parse" the path by elements and get the normal vectors for each one line,
and check if they (could) pass through your point and at what distance the
point is. If you have curves that might be quite more involved. Is y
Hi,
What is the current effect of Qt::AA_DontUseNativeMenuBar in Qt 5.5, and is it
to be expected that QCocoaMenu::insertNative() is called when the
AA_DontUseNativeMenuBar has been set?
I'm seeing 2 undesirable effects:
1) the Mac-style toplevel menubar remains visible in addition to an in-win
Hello:
Given a QPoint and a QPainterPath.
How do I find the distance from the QPoint to the
closest point along the QPainterPath.
I could step along the path with pointAtPercent
looking for the closest point, but that seems unduly
expensive: O(100N).
Any better ideas.
Thanks.
Bill
-
I have a C++ set of functions where I open(), pump() /*n times*/, close(). I
have the QML UI thread do the pumping because I want to update a status bar.
It's the only thing that the app is doing (and should be doing), so I'm not
worried about the UI being jittery. Previously in C++/Widgets, I c