Functions
contrib/mul/msm/utils/msm_draw_shape_to_eps.h File Reference

Draws current shape instance to an eps file. More...

#include <mbl/mbl_eps_writer.h>
#include <msm/msm_points.h>
#include <msm/msm_curve.h>

Go to the source code of this file.

Functions

void msm_draw_shape_to_eps (mbl_eps_writer &writer, const msm_points &points, const msm_curves &curves)
 Draws current shape instance to an eps file.
void msm_draw_points_to_eps (mbl_eps_writer &writer, const msm_points &points, double radius, bool filled=true)
 Draws points to an eps file with given radius.

Detailed Description

Draws current shape instance to an eps file.

Author:
Tim Cootes

Definition in file msm_draw_shape_to_eps.h.


Function Documentation

void msm_draw_points_to_eps ( mbl_eps_writer &  writer,
const msm_points points,
double  radius,
bool  filled 
)

Draws points to an eps file with given radius.

Uses writer.draw_disk() or .draw_circle() function to write points in current colour.

Uses writer.draw_disk() function to write points in current colour.

Definition at line 38 of file msm_draw_shape_to_eps.cxx.

void msm_draw_shape_to_eps ( mbl_eps_writer &  writer,
const msm_points points,
const msm_curves curves 
)

Draws current shape instance to an eps file.

Uses writer.draw_polygon() function to write given curves to file in current colour, linewidth etc.

Definition at line 13 of file msm_draw_shape_to_eps.cxx.