Commit b5ff5120 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@55194 954022d7-b5bf-4e40-9824-e11837661b57
parent 6722e4b8
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
......@@ -167,8 +167,8 @@ namespace agg
private:
inline agg::point_d project(const double& x, const double& y)
{
// (x, y) , (cos, sin)
// x*m_cos + y*m_sin + c = 0;
// проекция точки (x, y) на прямую, с направляющим вектором (cos, sin)
// перпендикулярная прямая x*m_cos + y*m_sin + c = 0;
double c = -(x * m_cos + y * m_sin);
point_d ret;
ret.x = -c * m_cos;
......
#ifndef AGG_SPAN_HATCH_INCLUDED
#ifndef AGG_SPAN_HATCH_INCLUDED
#define AGG_SPAN_HATCH_INCLUDED
#include <stdlib.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment