Papyrus::Face Class Reference

#include <papyrus/face.h>

Inheritance diagram for Papyrus::Face:

Inheritance graph
[legend]
List of all members.

Detailed Description

Why is there a Face primitive in this library? For testing of course; like the teapot in OpenGL.

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>


Public Types

enum  TYPE { SMILEY }
typedef enum Papyrus::Face::TYPE TYPE
typedef PapyrusSmartPointer<
Face
pointer

Public Member Functions

 Face (double size=20.0, TYPE type=SMILEY)
virtual void draw (Cairo::RefPtr< Cairo::Context > cairo)
TYPE type ()
void set_type (TYPE type)
double size ()
void set_size (double size)
void set_size_type (double size, TYPE type)
 PAPYRUS_CLASS_NAME ("Face")
 PAPYRUS_CLONE_METHOD (Face)

Static Public Member Functions

static Face::pointer create (double size=20.0, TYPE type=SMILEY)

Protected Attributes

TYPE m_type
double m_size


The documentation for this class was generated from the following files:
Generated on Sun Mar 11 10:01:38 2007 by  doxygen 1.5.1