| 222 | } |
| 223 | |
| 224 | static inline float DI2PX(float x) |
| 225 | { |
| 226 | auto& cmd_list = ::Render->get_imm_command_list(); |
| 227 | return float(iFloor((x + 1) * float(::Render->getTarget()->get_width(cmd_list)) * 0.5f)); |
| 228 | } |
| 229 | static inline float DI2PY(float y) |
| 230 | { |
| 231 | auto& cmd_list = ::Render->get_imm_command_list(); |