Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

VMDTitle.C File Reference

#include <math.h>
#include "VMDTitle.h"
#include "DisplayDevice.h"
#include "config.h"
#include "utilities.h"
#include "Scene.h"

Go to the source code of this file.

Defines

#define STROKE_WIDTH   (0.2f + 0.0f)

Functions

void draw_outsides (float c[8][3], VMDDisplayList *disp, int draw_ends)
void draw_stroke (float startx, float starty, float endx, float endy, VMDDisplayList *disp)
void draw_letter_V (float x, float y, VMDDisplayList *disp)
float letter_V_width (void)
void draw_letter_M (float x, float y, VMDDisplayList *disp)
float letter_M_width (void)
void find_ellipse_coords (float angle, float major, float minor, float *data)
void draw_letter_D (float x, float y, VMDDisplayList *disp)
float solve_position (float d, float t, float start, float end)


Define Documentation

#define STROKE_WIDTH   (0.2f + 0.0f)
 

Definition at line 36 of file VMDTitle.C.

Referenced by draw_letter_D, draw_letter_M, draw_letter_V, draw_stroke, letter_M_width, and letter_V_width.


Function Documentation

void draw_letter_D float    x,
float    y,
VMDDisplayList   disp
[static]
 

Definition at line 144 of file VMDTitle.C.

References draw_outsides, draw_stroke, find_ellipse_coords, STROKE_WIDTH, vec_add, and VMD_PI.

void draw_letter_M float    x,
float    y,
VMDDisplayList   disp
[static]
 

Definition at line 115 of file VMDTitle.C.

References draw_stroke, and STROKE_WIDTH.

void draw_letter_V float    x,
float    y,
VMDDisplayList   disp
[static]
 

Definition at line 103 of file VMDTitle.C.

References draw_stroke, and STROKE_WIDTH.

void draw_outsides float    c[8][3],
VMDDisplayList   disp,
int    draw_ends
[static]
 

Definition at line 43 of file VMDTitle.C.

References DispCmdTriangle::putdata, and vec_sub.

Referenced by draw_letter_D, and draw_stroke.

void draw_stroke float    startx,
float    starty,
float    endx,
float    endy,
VMDDisplayList   disp
[static]
 

Definition at line 85 of file VMDTitle.C.

References draw_outsides, and STROKE_WIDTH.

Referenced by draw_letter_D, draw_letter_M, and draw_letter_V.

void find_ellipse_coords float    angle,
float    major,
float    minor,
float *    data
[static]
 

Definition at line 136 of file VMDTitle.C.

References data.

Referenced by draw_letter_D.

float letter_M_width void    [static]
 

Definition at line 128 of file VMDTitle.C.

References STROKE_WIDTH.

float letter_V_width void    [static]
 

Definition at line 111 of file VMDTitle.C.

References STROKE_WIDTH.

float solve_position float    d,
float    t,
float    start,
float    end
[static]
 

Definition at line 228 of file VMDTitle.C.

Referenced by VMDTitle::prepare.


Generated on Mon Dec 9 02:45:37 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002