Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

graph_test.cpp File Reference

#include <math.h>
#include <stdio.h>
#include "agg_basics.h"
#include "agg_rendering_buffer.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_rasterizer_outline.h"
#include "agg_conv_stroke.h"
#include "agg_conv_dash.h"
#include "agg_conv_curve.h"
#include "agg_conv_contour.h"
#include "agg_conv_marker.h"
#include "agg_conv_shorten_path.h"
#include "agg_conv_marker_adaptor.h"
#include "agg_conv_concat.h"
#include "agg_arrowhead.h"
#include "agg_vcgen_markers_term.h"
#include "agg_scanline_p.h"
#include "agg_scanline_u.h"
#include "agg_renderer_scanline.h"
#include "agg_renderer_primitives.h"
#include "agg_span_allocator.h"
#include "agg_span_gradient.h"
#include "agg_span_interpolator_linear.h"
#include "agg_pixfmt_rgb.h"
#include "ctrl/agg_slider_ctrl.h"
#include "ctrl/agg_rbox_ctrl.h"
#include "ctrl/agg_cbox_ctrl.h"
#include "platform/agg_platform_support.h"

Go to the source code of this file.

Classes

class  graph
struct  graph::node
struct  graph::edge
struct  line
struct  curve
struct  stroke_draft_simple
struct  stroke_draft_arrow
struct  stroke_fine_simple
struct  stroke_fine_arrow
struct  dash_stroke_draft_simple
struct  dash_stroke_draft_arrow
struct  dash_stroke_fine_simple
struct  dash_stroke_fine_arrow
class  the_application

Defines

#define stroke_draft   stroke_draft_arrow
#define dash_stroke_draft   dash_stroke_draft_arrow
#define stroke_fine   stroke_fine_arrow
#define dash_stroke_fine   dash_stroke_fine_arrow

Typedefs

typedef agg::pixfmt_bgr24 pixfmt
typedef pixfmt::color_type color_type
typedef agg::renderer_base<
pixfmt
base_renderer
typedef agg::renderer_primitives<
base_renderer
primitives_renderer
typedef agg::renderer_scanline_aa_solid<
base_renderer
solid_renderer
typedef agg::renderer_scanline_bin_solid<
base_renderer
draft_renderer
typedef agg::gradient_radial_d gradient_function
typedef agg::span_interpolator_linear interpolator
typedef agg::pod_auto_array<
color_type, 256 > 
color_array_type
typedef agg::span_gradient<
color_type, interpolator,
gradient_function, color_array_type
gradient_span_gen
typedef agg::span_allocator<
color_type
gradient_span_alloc
typedef agg::renderer_scanline_aa<
base_renderer, gradient_span_alloc,
gradient_span_gen
gradient_renderer
typedef agg::rasterizer_scanline_aa scanline_rasterizer
typedef agg::rasterizer_outline<
primitives_renderer
outline_rasterizer

Enumerations

enum  flip_y_e { flip_y = true }

Functions

int agg_main (int argc, char *argv[])


Define Documentation

#define dash_stroke_draft   dash_stroke_draft_arrow
 

Definition at line 401 of file graph_test.cpp.

#define dash_stroke_fine   dash_stroke_fine_arrow
 

Definition at line 403 of file graph_test.cpp.

#define stroke_draft   stroke_draft_arrow
 

Definition at line 400 of file graph_test.cpp.

#define stroke_fine   stroke_fine_arrow
 

Definition at line 402 of file graph_test.cpp.


Typedef Documentation

typedef agg::renderer_base<pixfmt> base_renderer
 

Definition at line 35 of file graph_test.cpp.

typedef agg::pod_auto_array<color_type, 256> color_array_type
 

Definition at line 43 of file graph_test.cpp.

typedef pixfmt::color_type color_type
 

Definition at line 34 of file graph_test.cpp.

typedef agg::renderer_scanline_bin_solid<base_renderer> draft_renderer
 

Definition at line 39 of file graph_test.cpp.

typedef agg::gradient_radial_d gradient_function
 

Definition at line 41 of file graph_test.cpp.

typedef agg::renderer_scanline_aa<base_renderer, gradient_span_alloc, gradient_span_gen> gradient_renderer
 

Definition at line 52 of file graph_test.cpp.

typedef agg::span_allocator<color_type> gradient_span_alloc
 

Definition at line 48 of file graph_test.cpp.

typedef agg::span_gradient<color_type, interpolator, gradient_function, color_array_type> gradient_span_gen
 

Definition at line 47 of file graph_test.cpp.

typedef agg::span_interpolator_linear interpolator
 

Definition at line 42 of file graph_test.cpp.

typedef agg::rasterizer_outline<primitives_renderer> outline_rasterizer
 

Definition at line 55 of file graph_test.cpp.

typedef agg::pixfmt_bgr24 pixfmt
 

Definition at line 33 of file graph_test.cpp.

typedef agg::renderer_primitives<base_renderer> primitives_renderer
 

Definition at line 36 of file graph_test.cpp.

typedef agg::rasterizer_scanline_aa scanline_rasterizer
 

Definition at line 54 of file graph_test.cpp.

typedef agg::renderer_scanline_aa_solid<base_renderer> solid_renderer
 

Definition at line 38 of file graph_test.cpp.


Enumeration Type Documentation

enum flip_y_e
 

Enumerator:
flip_y 

Definition at line 30 of file graph_test.cpp.

00030 { flip_y = true };


Function Documentation

int agg_main int  argc,
char *  argv[]
 

Definition at line 911 of file graph_test.cpp.

References platform_support::caption(), flip_y, platform_support::init(), agg::pix_format_bgr24, platform_support::run(), and agg::window_resize.

00912 {
00913     the_application app(agg::pix_format_bgr24, flip_y);
00914     app.caption("AGG Example. Line Join");
00915 
00916     if(app.init(600+100, 500+30, agg::window_resize))
00917     {
00918         return app.run();
00919     }
00920     return 1;
00921 }


© sourcejam.com 2005-2008