glyphs.c File Reference

Handle the drawing of arrows. More...

#include "rendermodes.h"

Functions

void draw_arrows (uint32_t *dst, int dst_w, int dst_h, vec4f *dir_data, float *len_data, int add_data_idx, float arrowcnt_x, float arrowcnt_y, float arrow_width)
 Draw Arrows.


Detailed Description

Handle the drawing of arrows.


Function Documentation

void draw_arrows uint32_t *  dst,
int  dst_w,
int  dst_h,
vec4f *  dir_data,
float *  len_data,
int  add_data_idx,
float  arrowcnt_x,
float  arrowcnt_y,
float  arrow_width
 

Draw Arrows.

Parameters:
dst Pointer to the blit-destination
dst_w The blit-destination's width
dst_h The blit-destination's height
dir_data Pointer to the velocity-vectors of the flow-field
len_data Pointer to alternative magnitude-scaling factor
add_data_idx Index of alternative magnitude-scaling factor
arrowcnt_x Number of arrows per row
arrowcnt_y Number of arrows per column
arrow_width Arrow width


Generated on Mon Jan 22 17:35:12 2007 for PHFLOW - Flow Visualizer by  doxygen 1.4.6