14 #ifndef GEOMTEXTGLYPH_H 15 #define GEOMTEXTGLYPH_H 39 void count_geom(
const Geom *other);
41 virtual void output(std::ostream &out)
const;
42 virtual void write(std::ostream &out,
int indent_level = 0)
const;
61 static void init_type() {
64 Geom::get_class_type());
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
77 #endif // GEOMTEXTGLYPH_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
This class is not normally used directly by user code, but is used by the TextNode to lay out a block...
A representation of a single glyph (character) from a font.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
This is a specialization on Geom for containing a primitive intended to represent a TextGlyph.