Added initial Markup, Frame, FrameRect and StrUtil implementations.
This commit is contained in:
@@ -24,23 +24,23 @@
|
||||
namespace libglabels
|
||||
{
|
||||
|
||||
int Point::compare_to( const Point &b )
|
||||
int Point::compare( const Point &a, const Point &b )
|
||||
{
|
||||
if ( mY < b.mY )
|
||||
if ( a.mY < b.mY )
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
else if ( mY > b.mY )
|
||||
else if ( a.mY > b.mY )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( mX < b.mX )
|
||||
if ( a.mX < b.mX )
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
else if ( mX > b.mX )
|
||||
else if ( a.mX > b.mX )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user