You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

191 lines
4.4 KiB
C++

// 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 "linesegment.h"
/////////////////////////////////////////////////////////////////////////////
// CLineSegment properties
/////////////////////////////////////////////////////////////////////////////
// CLineSegment operations
unsigned long CLineSegment::GetColor()
{
unsigned long result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetColor(unsigned long newValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
float CLineSegment::GetLineWidth()
{
float result;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetLineWidth(float newValue)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
long CLineSegment::GetLineStyle()
{
long result;
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetLineStyle(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CLineSegment::GetLineType()
{
long result;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetLineType(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CLineSegment::GetMarker()
{
long result;
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarker(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
float CLineSegment::GetMarkerSize()
{
float result;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerSize(float newValue)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
float CLineSegment::GetMarkerInterval()
{
float result;
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerInterval(float newValue)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
long CLineSegment::GetMarkerOrientation()
{
long result;
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerOrientation(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
BOOL CLineSegment::GetMarkerFlipFirst()
{
BOOL result;
InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerFlipFirst(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
float CLineSegment::GetMarkerOffset()
{
float result;
InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerOffset(float newValue)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
unsigned long CLineSegment::GetMarkerOutlineColor()
{
unsigned long result;
InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLineSegment::SetMarkerOutlineColor(unsigned long newValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
BOOL CLineSegment::DrawVB(long hdc, float x, float y, long clipWidth, long clipHeight, unsigned long BackColor)
{
BOOL result;
static BYTE parms[] =
VTS_I4 VTS_R4 VTS_R4 VTS_I4 VTS_I4 VTS_I4;
InvokeHelper(0xd, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
hdc, x, y, clipWidth, clipHeight, BackColor);
return result;
}