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

gouraud_mesh.cpp File Reference

#include <math.h>
#include <stdio.h>
#include <time.h>
#include "agg_rendering_buffer.h"
#include "agg_conv_transform.h"
#include "agg_conv_stroke.h"
#include "agg_conv_clip_polyline.h"
#include "agg_scanline_u.h"
#include "agg_scanline_bin.h"
#include "agg_renderer_scanline.h"
#include "agg_rasterizer_outline_aa.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_span_allocator.h"
#include "agg_span_gouraud_rgba.h"
#include "agg_gamma_lut.h"
#include "agg_arc.h"
#include "agg_bezier_arc.h"
#include "agg_pixfmt_rgb.h"
#include "agg_pixfmt_rgba.h"
#include "agg_bounding_rect.h"
#include "agg_vpgen_clip_polygon.h"
#include "ctrl/agg_slider_ctrl.h"
#include "ctrl/agg_bezier_ctrl.h"
#include "ctrl/agg_rbox_ctrl.h"
#include "ctrl/agg_cbox_ctrl.h"
#include "platform/agg_platform_support.h"
#include "agg_rasterizer_compound_aa.h"

Go to the source code of this file.

Namespaces

namespace  agg

Classes

struct  mesh_point
struct  mesh_triangle
struct  mesh_edge
class  mesh_ctrl
class  styles_gouraud
class  the_application

Typedefs

typedef agg::pixfmt_bgra32_pre pixfmt

Enumerations

enum  { flip_y = true }

Functions

static double agg::random (double v1, double v2)
int agg_main (int argc, char *argv[])


Typedef Documentation

typedef agg::pixfmt_bgra32_pre pixfmt
 

Definition at line 33 of file gouraud_mesh.cpp.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
flip_y 

Definition at line 31 of file gouraud_mesh.cpp.

00031 { flip_y = true };


Function Documentation

int agg_main int  argc,
char *  argv[]
 

Definition at line 482 of file gouraud_mesh.cpp.

References platform_support::caption(), flip_y, platform_support::init(), agg::pix_format_bgra32, platform_support::run(), and platform_support::wait_mode().

00483 {
00484     the_application app(agg::pix_format_bgra32, flip_y);
00485     app.caption("AGG Example");
00486 
00487     if(app.init(400, 400, 0))//agg::window_resize))
00488     {
00489         app.wait_mode(false);
00490         return app.run();
00491     }
00492     return 1;
00493 }


© sourcejam.com 2005-2008