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

gamma_tuner.cpp File Reference

#include <stdio.h>
#include "agg_trans_affine.h"
#include "agg_conv_stroke.h"
#include "agg_rasterizer_scanline_aa.h"
#include "agg_rendering_buffer.h"
#include "agg_scanline_u.h"
#include "agg_renderer_scanline.h"
#include "agg_gamma_lut.h"
#include "ctrl/agg_slider_ctrl.h"
#include "ctrl/agg_rbox_ctrl.h"
#include "platform/agg_platform_support.h"
#include "agg_pixfmt_rgb.h"

Go to the source code of this file.

Classes

class  the_application

Defines

#define pix_format   agg::pix_format_bgr24
#define pixfmt_gamma   agg::pixfmt_bgr24_gamma

Typedefs

typedef agg::pixfmt_bgr24 pixfmt
typedef agg::pixfmt_bgr24_pre pixfmt_pre
typedef agg::rgba8 color_type
typedef agg::order_bgr component_order

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 14 of file gamma_tuner.cpp.

#define pixfmt_gamma   agg::pixfmt_bgr24_gamma
 

Definition at line 17 of file gamma_tuner.cpp.


Typedef Documentation

typedef agg::rgba8 color_type
 

Definition at line 18 of file gamma_tuner.cpp.

typedef agg::order_bgr component_order
 

Definition at line 19 of file gamma_tuner.cpp.

typedef agg::pixfmt_bgr24 pixfmt
 

Definition at line 15 of file gamma_tuner.cpp.

typedef agg::pixfmt_bgr24_pre pixfmt_pre
 

Definition at line 16 of file gamma_tuner.cpp.


Enumeration Type Documentation

enum flip_y_e
 

Enumerator:
flip_y 

Definition at line 21 of file gamma_tuner.cpp.

00021 { flip_y = true };


Function Documentation

int agg_main int  argc,
char *  argv[]
 

Definition at line 226 of file gamma_tuner.cpp.

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

00227 {
00228     the_application app(pix_format, flip_y);
00229     app.caption("AGG Example. Gamma Tuner");
00230 
00231     if(app.init(500, 500, 0))
00232     {
00233         return app.run();
00234     }
00235     return 1;
00236 }


© sourcejam.com 2005-2008