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();}
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is a specialization on Geom for containing a primitive intended to represent a TextGlyph.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
A container for geometry primitives.
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.
virtual Geom * make_copy() const
Returns a newly-allocated Geom that is a shallow copy of this one.
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.
TypeHandle is the identifier used to differentiate C++ class types.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.