draw_rectangular_marquee.h 593 B

123456789101112131415161718192021222324
  1. #ifndef IGL_DRAW_RECTANGULAR_MARQUEE_H
  2. #define IGL_DRAW_RECTANGULAR_MARQUEE_H
  3. namespace igl
  4. {
  5. // Draw a rectangular marquee (selection box) in screen space. This sets up
  6. // screen space using current viewport.
  7. //
  8. // Inputs:
  9. // from_x x coordinate of from point
  10. // from_y y coordinate of from point
  11. // to_x x coordinate of to point
  12. // to_y y coordinate of to point
  13. void draw_rectangular_marquee(
  14. const int from_x,
  15. const int from_y,
  16. const int to_x,
  17. const int to_y);
  18. }
  19. #ifdef IGL_HEADER_ONLY
  20. # include "draw_rectangular_marquee.cpp"
  21. #endif
  22. #endif