| 77 | } |
| 78 | |
| 79 | static bool engine_inj_containsPoint(ax::Node* target, const ax::Vec2& worldPoint) |
| 80 | { |
| 81 | ax::Point pt = target->convertToNodeSpace(worldPoint); |
| 82 | |
| 83 | const Vec2& size = target->getContentSize(); |
| 84 | |
| 85 | ax::Rect rc(0, 0, size.width, size.height); |
| 86 | |
| 87 | bool contains = (rc.containsPoint(pt)); |
| 88 | |
| 89 | // AXLOGD("check {:#x} coordinate:({}, {}), contains:{}", target, pt.x, pt.y, contains); |
| 90 | return contains; |
| 91 | } |
| 92 | |
| 93 | static uint32_t engine_inj_c4b2dw(const Color4B& value) |
| 94 | { |
nothing calls this directly
no test coverage detected