Aegisub/contrib/assdraw/src/agghelper.hpp
Amar Takhar b8d6be1ee3 SVN Transition Step 5/7
1. svn mv assdraw csri hunspell lua51 contrib

* See r2749 for full description.

Originally committed to SVN as r2754.
2009-03-08 08:31:41 +00:00

20 lines
357 B
C++

#pragma once
#include "agg_path_storage.h"
class agghelper
{
public:
static agg::path_storage RectanglePath(double left, double right, double top, double bottom)
{
agg::path_storage path;
path.move_to(left,top);
path.line_to(right,top);
path.line_to(right,bottom);
path.line_to(left,bottom);
path.line_to(left,top);
return path;
}
};