FLTK logo

[fltk.general] gl_draw

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

gl_draw "holm.h... Jan 25, 2022  
 

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

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/6901b6ab-3611-4bb0-947c-36e278ee8081n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.