gl_draw

10 views
Skip to first unread message

holm.h...@gmail.com

unread,
Jan 25, 2022, 1:07:02 PM1/25/22
to fltk.general

Hi,

In my application I call gl_draw to draw text. Sometimes the text is outside the view.
The text is the written after the last written text inside the view.

A test, if the raster position is inside the would fix this:
  glRasterPos3f(x, y, z);
  GLboolean b;
  glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID, &b);
  if (b==GL_TRUE)
    gl_draw(str, n);

Would it be an idea to include this to the library ?

Best regards
Håvard
Reply all
Reply to author
Forward
0 new messages