Sync to AGG tree to support stippi's Painter classes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10693 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -141,12 +141,25 @@ namespace agg
|
||||
*y = (*y - m_dy1) / m_ky + m_wy1;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
double scale_x() const
|
||||
{
|
||||
return m_kx;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
double scale_y() const
|
||||
{
|
||||
return m_ky;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
double scale() const
|
||||
{
|
||||
return (m_kx + m_ky) * 0.5;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
unsigned byte_size() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user