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

alpha_gradient.cpp File Reference

#include <stdio.h>
#include "agg_basics.h"
#include "agg_rendering_buffer.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_scanline_u.h"
#include "agg_renderer_scanline.h"
#include "agg_span_gradient.h"
#include "agg_span_gradient_alpha.h"
#include "agg_span_interpolator_linear.h"
#include "agg_span_allocator.h"
#include "agg_span_converter.h"
#include "agg_ellipse.h"
#include "agg_pixfmt_rgb.h"
#include "agg_vcgen_stroke.h"
#include "platform/agg_platform_support.h"
#include "ctrl/agg_spline_ctrl.h"

Go to the source code of this file.

Classes

class  the_application

Defines

#define pix_format   agg::pix_format_bgr24

Typedefs

typedef agg::pixfmt_bgr24 pixfmt_type
typedef pixfmt_type::color_type color_type
typedef color_type::value_type color_value_type

Enumerations

enum  flip_y_e { flip_y = true }

Functions

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


Define Documentation

#define pix_format   agg::pix_format_bgr24
 

Definition at line 23 of file alpha_gradient.cpp.

Referenced by agg_main().


Typedef Documentation

typedef pixfmt_type::color_type color_type
 

Definition at line 25 of file alpha_gradient.cpp.

typedef color_type::value_type color_value_type
 

Definition at line 26 of file alpha_gradient.cpp.

typedef agg::pixfmt_bgr24 pixfmt_type
 

Definition at line 24 of file alpha_gradient.cpp.


Enumeration Type Documentation

enum flip_y_e
 

Enumerator:
flip_y 

Definition at line 19 of file alpha_gradient.cpp.

00019 { flip_y = true };


Function Documentation

int agg_main int  argc,
char *  argv[]
 

Definition at line 363 of file alpha_gradient.cpp.

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

00364 {
00365     the_application app(pix_format, flip_y);
00366     app.caption("AGG Example. Alpha channel gradient");
00367 
00368     if(app.init(400, 320, agg::window_resize))
00369     {
00370         return app.run();
00371     }
00372     return 1;
00373 }


© sourcejam.com 2005-2008