forked from mia/Aegisub
assdraw: delete some commented code
Originally committed to SVN as r6870.
This commit is contained in:
parent
4b662d74f4
commit
618c4b8afa
1 changed files with 7 additions and 21 deletions
|
@ -1792,8 +1792,6 @@ void ASSDrawCanvas::UpdateNonUniformTransformation()
|
|||
unsigned vertices = backupcmds.total_vertices();
|
||||
double x, y;
|
||||
|
||||
//if (draw_mode == MODE_NUT_BILINEAR)
|
||||
//{
|
||||
agg::trans_bilinear trans_b(rectbound[0].x, rectbound[0].y, rectbound[2].x, rectbound[2].y, bound);
|
||||
agg::conv_transform<agg::path_storage, agg::trans_bilinear> transb(backupcmds, trans_b);
|
||||
transb.rewind(0);
|
||||
|
@ -1802,19 +1800,7 @@ void ASSDrawCanvas::UpdateNonUniformTransformation()
|
|||
transb.vertex(&x, &y);
|
||||
trans.move_to(x, y);
|
||||
}
|
||||
//}
|
||||
/* else
|
||||
{
|
||||
agg::trans_perspective trans_p(rectbound[0].x, rectbound[0].y, rectbound[2].x, rectbound[2].y, bound);
|
||||
agg::conv_transform<agg::path_storage, agg::trans_perspective> transp(backupcmds, trans_p);
|
||||
transp.rewind(0);
|
||||
for (int i = 0; i < vertices; i++)
|
||||
{
|
||||
transp.vertex(&x, &y);
|
||||
trans.move_to(x, y);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
trans.rewind(0);
|
||||
for (DrawCmdList::iterator iterate = cmds.begin(); iterate != cmds.end(); iterate++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue