[vtkusers] Displaying the degree symbol "\u00B0" in vtkCornerAnnotation

junior alok.theanomaly at gmail.com
Tue Oct 21 11:32:55 EDT 2014


Hey,

This is a silly question.
I have been trying for a while to display a degree symbol in
vtkCornerAnnotation.

The way I am trying to do it is like this:
std;:string angle = computeAngle()+"\u00B0";
cornerAnnotation->SetText(3,angle.c_str()); //where cornerAnnotation if of
type vtkCornerAnnotation.

This displays something like 50A&circ&deg




--
View this message in context: http://vtk.1045678.n5.nabble.com/Displaying-the-degree-symbol-u00B0-in-vtkCornerAnnotation-tp5729197.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list