PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "textGlyph.h"
#include "geomTextGlyph.h"
#include "geomTriangles.h"
#include "geomVertexReader.h"
#include "geomVertexWriter.h"
Go to the source code of this file.
Functions | |
PT (Geom) TextGlyph | |
Returns a Geom that renders the particular glyph. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file textGlyph.cxx.
PT | ( | Geom | ) |
Returns a Geom that renders the particular glyph.
It will be generated if necessary.
This method will always return a copy of the Geom, so the caller is free to modify it. Expands min_point and max_point to include all of the vertices in the glyph, if any. found_any is set true if any points are found. It is the caller's responsibility to initialize min_point, max_point, and found_any before calling this function. Sets the glyph using the given quad parameters. Any Geom assigned will be cleared. The order of the components is left, bottom, right, top.
Definition at line 50 of file textGlyph.cxx.
Referenced by TextGlyph::set_geom().