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

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

#include "msm_draw_shape_to_eps.h"
#include <vcl_iosfwd.h>
#include <vcl_cassert.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)
 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.cxx.


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() 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.