MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #22879 All Revisions ] Back to Issue ]
Summary 0022879: Possible bug in Opengl_togl_begin_layer_mode.cxx
Revision 2012-02-22 20:44 by apl
Additional information
and documentation updates
SetTextAttributes method has been fixed in OpenGl_GraphicDriver.
This method now sets font name, type of display text and color of background for subtitle or decal text display for overlayer or underlayer text.
Without this fix, only font name argument has an effect.
There are four different type of display text available:
- Aspect_TODT_NORMAL, display text as usual,
- Aspect_TODT_SUBTITLE, display text on colored background,
- Aspect_TODT_DEKALE, display text with colored outlines,
- Aspect_TODT_BLEND, display text with blended colors.

The color of the font itself can be set with method SetColor in OpenGl_GraphicDriver.

Changes in packages:

OpenGl package:
1) OpenGl_GraphicDriver - method SetTextAttributes now correctly processes the Font, Type, R, G, B parameters.

V3d package:
1) V3d_ColorScale - text attributes changed from Aspect_TODT_SUBTITLE to Aspect_TODT_NORMAL.
2) V3d_LayerMgr - text attributes on beginnig of redraw of the layers in method V3d_LayerMgr::Begin() changed from Aspect_TODT_SUBTITLE to Aspect_TODT_NORMAL.

ViewerTest package:
1) Text attributes testing command "voverlaytext" implemented.
Revision 2012-02-22 20:28 by apl
Additional information
and documentation updates


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker