drawline.cpp
来自「对Teechart进行封装」· C++ 代码 · 共 46 行
CPP
46 行
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "drawline.h"
// Dispatch interfaces referenced by this interface
#include "TeePoint2D.h"
#include "pen.h"
/////////////////////////////////////////////////////////////////////////////
// CDrawLine properties
/////////////////////////////////////////////////////////////////////////////
// CDrawLine operations
CTeePoint2D CDrawLine::GetEndPos()
{
LPDISPATCH pDispatch;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CTeePoint2D(pDispatch);
}
CTeePoint2D CDrawLine::GetStartPos()
{
LPDISPATCH pDispatch;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CTeePoint2D(pDispatch);
}
CPen1 CDrawLine::GetPen()
{
LPDISPATCH pDispatch;
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CPen1(pDispatch);
}
void CDrawLine::DrawHandles()
{
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?