FLTK 1.3.x

fl_vertex.cxx File Reference

Portable drawing code for drawing arbitrary shapes with simple 2D transformations. More...

#include <config.h>
#include <FL/fl_draw.H>
#include <FL/x.H>
#include <FL/Fl.H>
#include <FL/math.h>
#include <stdlib.h>

Defines

#define XPOINT   XPoint

Typedefs

typedef short COORD_T

Enumerations

enum  { LINE, LOOP, POLYGON, POINT_ }

Functions

void fl_mult_matrix (double a, double b, double c, double d, double x, double y)
 Concatenates another transformation onto the current one.
void fl_pop_matrix ()
 Restores the current transformation matrix from the stack.
void fl_push_matrix ()
 Saves the current transformation matrix on the stack.
void fl_rotate (double d)
 Concatenates rotation transformation onto the current one.
void fl_scale (double x, double y)
 Concatenates scaling transformation onto the current one.
void fl_scale (double x)
 Concatenates scaling transformation onto the current one.
double fl_transform_dx (double x, double y)
 Transforms distance using current transformation matrix.
double fl_transform_dy (double x, double y)
 Transforms distance using current transformation matrix.
double fl_transform_x (double x, double y)
 Transforms coordinate using the current transformation matrix.
double fl_transform_y (double x, double y)
 Transform coordinate using the current transformation matrix.
void fl_translate (double x, double y)
 Concatenates translation transformation onto the current one.

Variables

matrix * fl_matrix = &m

Detailed Description

Portable drawing code for drawing arbitrary shapes with simple 2D transformations.