forked from mia/Aegisub
391219ea54
1. svn mv assdraw csri hunspell lua51 contrib * See r2749 for full description. Originally committed to SVN as r2754.
20 lines
357 B
C++
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;
|
|
}
|
|
|
|
};
|