15 #ifndef GEOMTEXTGLYPH_H 16 #define GEOMTEXTGLYPH_H 18 #include "pandabase.h" 23 #include "dynamicTextGlyph.h" 34 class EXPCL_PANDA_TEXT GeomTextGlyph :
public Geom {
36 GeomTextGlyph(DynamicTextGlyph *glyph,
39 GeomTextGlyph(
const GeomTextGlyph ©);
41 virtual ~GeomTextGlyph();
42 ALLOC_DELETED_CHAIN(GeomTextGlyph);
46 void count_geom(
const Geom *other);
48 virtual void output(ostream &out)
const;
49 virtual void write(ostream &out,
int indent_level = 0)
const;
64 static void init_type() {
66 register_type(_type_handle,
"GeomTextGlyph",
67 Geom::get_class_type());
70 return get_class_type();
72 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 #include "geomTextGlyph.I" 80 #else // HAVE_FREETYPE 83 typedef Geom GeomTextGlyph;
85 #endif // HAVE_FREETYPE 87 #endif // GEOMTEXTGLYPH_H Base class for objects that can be written to and read from Bam files.
This is our own Panda specialization on the default STL vector.
virtual Geom * make_copy() const
Returns a newly-allocated Geom that is a shallow copy of this one.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
A container for geometry primitives.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool copy_primitives_from(const Geom *other)
Copies the primitives from the indicated Geom into this one.
void operator=(const Geom ©)
The copy assignment operator is not pipeline-safe.
static void register_with_read_factory()
Tells the BamReader how to create objects of type Geom.
TypeHandle is the identifier used to differentiate C++ class types.