|
| #define | COMPUTE_SEGMENT_EEPIC_COORDENATES() |
| |
| #define | DRAW_SEGMENT(sg, output) |
| |
| #define | PUT_ARROW() |
| |
| #define | DRAW_ARROW(sg, output) |
| |
| #define | DRAW_DOTTED_SEGMENT(sg, output) |
| |
| #define | DRAW_DASH_SEGMENT(sg, output) |
| |
| #define | DRAW_ARROW_DOTTED_SEGMENT(sg, output) |
| |
| #define | DRAW_ARROW_DASH_SEGMENT(sg, output) |
| |
| #define | DEFINE_EEPIC_COPY_CTOR(Type) Eepic_##Type(const Type & o) : Eepic_Geom_Object(new Type(o), true) { } |
| | Generator macros for Eepic_Geom_Object-derived wrapper types.
|
| |
| #define | DEFINE_EEPIC_COMMON_METHODS(Type) |
| | Common methods always provided by an Eepic_Type wrapper class.
|
| |
| #define | DEFINE_EEPIC_COMMON_WITH_COPY_CTOR(Type) |
| | Common methods plus a copy-constructor that owns a deep copy of the wrapped object.
|
| |
| #define | DEFINE_EEPIC_COMMON_WITHOUT_COPY_CTOR(Type) |
| | Common methods, but the copy-constructor is only declared and must be implemented later.
|
| |
| #define | DEFINE_PUT_IN_PLANE(Type) extern void put_in_plane(Eepic_Plane & plane, const Type & geom_obj) |
| | Declare put_in_plane(plane, geom_obj) for a given geometric type.
|
| |
| #define | IMPL_PUT_IN_PLANE(Type) |
| |
| #define | DEFINE_EEPIC_CLASS(Type) |
| | Fundamental macro to declare a class derived from Eepic_Geom_Object.
|
| |
| #define | DEFINE_EEPIC_CLASS_AND_MEMBERS(Type, ...) |
| |
| #define | DEFINE_CLASS_DERIVATED_FROM_SEGMENT(Name) |
| | We need several ways of drawing segments.
|
| |
| #define | DEFINE_EEPIC_SEGMENT_CLASS(Name) |
| |
| #define | DEFINE_EEPIC_SEGMENT_CLASS_AND_MEMBERS(Name, ...) |
| |
| #define | DEFINE_CLASS_DERIVATED_FROM_ELLIPSE(Name) |
| |
| #define | DEFINE_CLASS_DERIVATED_FROM_TEXT(Name) |
| | Text wrappers.
|
| |
| #define | DEFINE_CLASS_DERIVATED_FROM_POLYGON(Name) |
| |
| #define | DEFINE_EEPIC_POLYGON(Name) |
| |
| #define | DEFINE_CLASS_DERIVATED_FROM_REGULAR_POLYGON(Name) |
| | Regular polygons.
|
| |
| #define | DEFINE_EEPIC_REGULAR_POLYGON(Name) |
| |
|
| void | put_in_plane (Eepic_Plane &plane, const Point &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Segment &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Segment &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Segment &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Segment &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Segment &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Triangle &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Ellipse &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Ellipse &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Ellipse &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Text &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Left_Text &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Right_Text &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Center_Text &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Polygon_With_Arrows &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Polygon_With_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Polygon_With_Arrows &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Polygon_With_Text_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Polygon_With_Vertex_Numbers &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Spline &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Spline &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Spline_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Spline_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Polygon_With_Arrows &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dotted_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dotted_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Polygon_With_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon_With_Arrows &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon_With_Text_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Shade_Polygon_With_Vertex_Numbers &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Spline &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Spline &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Spline_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Thick_Dash_Spline_Arrow &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Regular_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Regular_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Regular_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Regular_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dotted_Regular_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Dash_Regular_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Regular_Polygon &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Regular_Polygon_With_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Regular_Polygon_With_Arrows &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Regular_Polygon_With_Text_Points &geom_obj) |
| |
| void | put_in_plane (Eepic_Plane &plane, const Shade_Regular_Polygon_With_Vertex_Numbers &geom_obj) |
| |
EEPIC/LaTeX geometric drawing utilities.
This file provides classes for generating EEPIC (Extended EPIC) code for LaTeX documents. EEPIC is a macro package that extends the standard LaTeX picture environment with additional drawing primitives.
The main components are:
- Eepic_Plane A 2D canvas that holds geometric objects and generates the LaTeX picture environment
- Eepic_Geom_Object Abstract base class for drawable geometric objects
- Various Eepic_* wrapper classes for Points, Segments, Polygons, etc.
Usage Example
Point p1(0, 0), p2(100, 100);
std::ofstream
file(
"output.tex");
2D canvas for generating EEPIC/LaTeX picture environments.
Rectangular point in the plane.
Fundamental segment defined by two points.
void put_in_plane(Eepic_Plane &plane, const Point &geom_obj)
- Author
- Leandro Rabindranath León
Definition in file eepicgeom.H.
Definition at line 1151 of file eepicgeom.C.
Referenced by process_arc(), process_node(), process_tag_node(), process_text_arc(), TextVariantsTest::SetUp(), CoordinateTransformTest::SetUp(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().