29 lines
682 B
C++
29 lines
682 B
C++
//-----------------------------------------------------------------------------+
|
|||
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
||
|
|
// = FileName : XImageBuf Ŕŕ
|
||
|
|
// = Version : ver2.0
|
||
|
|
// = Author : zjq
|
||
|
|
// = CreateDate : 2002-09-09
|
||
|
|
// = Description: XImageBuf ŔඨŇĺ
|
||
|
|
// = Maintainers:
|
||
|
|
//
|
||
|
|
//-----------------------------------------------------------------------------+
|
||
|
|
#include "StdAfx.h"
|
||
|
|
#include "XImageBuf.h"
|
||
|
|
|
||
|
|
XImageBuf::XImageBuf(const XPoint &pt1, const XPoint &pt2, int nColor)
|
||
|
|
: XLine(pt1, pt2), nColorIndex(nColor)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
XImageBuf::XImageBuf(const XImageBuf &src)
|
||
|
|
: XLine(src), nColorIndex(src.nColorIndex)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
XImageBuf::~XImageBuf()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|