struct agg_exception {};
. . .
int agg_main(int argc, char* argv[])
{
the_application app(agg::pix_format_bgr24, flip_y);
app.caption("AGG Example. Anti-Aliasing Test");
try
{
if(app.init(480, 350, agg::window_resize))
{
return app.run();
}
}
catch(agg_exception)
{
}
return 1;
}
时间: 2024-10-14 01:45:49