额外继承的成员函数 | |
Public 成员函数 继承自 ILLine | |
double | AcuteAngle (ILLine *line) |
double | AngleTo (ILLine *line) |
ILLine * | BisectLine (ILLine *line) |
double | Distance (ILLine *line) |
void | Draw (HDC hdc, double zoomX, double zoomY, double panX, double panY) |
void | FromRotRectRegion (ILRotRectRegion *val) |
double | GetAngle () |
ILPoint * | GetEndPoint () |
double | GetLength () |
ILPoint * | GetMidPoint () |
ILPoint * | GetStartPoint () |
double | GetX (double y) |
double | GetY (double x) |
LPVIntersectType | IntersectCircle (ILCircle *circle, ILPoints **intersectPoints) |
LPVIntersectType | IntersectLine (ILLine *line, ILPoint **intersectPoint) |
LPVIntersectType | IntersectPoly (ILPolygon *polygon, ILPoints **intersectPoints) |
double | Parallel (ILLine *line) |
double | Perpendicular (ILPoint *point, ILPoint **rootPoint) |
ILPolygon * | Resample (int num) |
ILPolygon * | ResampleByStep (double step, double stepThreshold) |
void | Set (double x1, double y1, double x2, double y2) |
void | Set2 (double midx, double midy, double lineAngle, double length) |
ILRotRectRegion * | ToRotRectRegion (int exp) |
ILLine * | Transform (ILTransform *tf) |
ILLine * | Translate (double offsetX, double offsetY) |
Public 成员函数 继承自 ILGeomObject | |
void | Drag (LPVGeomHandle geomHandle, int posX, int posY, double zoomX, double zoomY, double panX, double panY) |
void | EnableHandle (LPVGeomHandle geomHandle, BOOL enabled) |
LPVGeomHandle | HitTest (int posX, int posY, double zoomX, double zoomY, double panX, double panY) |
void | ScaleTo (double factorX, double factorY) |
void | TransformTo (ILTransform *tf) |
void | TranslateTo (double offsetX, double offsetY) |
Public 成员函数 继承自 ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Public 成员函数 继承自 ILDrawable | |
void | SetBrushColor (COLORREF brushColor) |
void | SetDrawName (BOOL val) |
void | SetDrawPoint (int size, LPVPointShape shape) |
void | SetFont (LString fontFamily, int fontHeight, COLORREF fontColor, BOOL bold, BOOL italic, BOOL underline, BOOL strikeOut) |
void | SetFontColor (COLORREF fontColor) |
void | SetFontFamily (LString fontFamily) |
void | SetFontHeight (int fontHeight) |
void | SetPen (LPVPenStyle penStyle, int penWidth, COLORREF penColor) |
void | SetPenColor (COLORREF penColor) |
void | SetPenStyle (LPVPenStyle penStyle) |
void | SetPenWidth (int penWidth) |
Public 成员函数 继承自 ILSortable | |
double | GetPosX (LPVPositionMode posMode) |
double | GetPosY (LPVPositionMode posMode) |
double | GetScore () |
属性 继承自 ILLine | |
double | X1 [get, set] |
直线起点的 x 坐标 | |
double | X2 [get, set] |
直线终点的 x 坐标 | |
double | Y1 [get, set] |
直线起点的 y 坐标 | |
double | Y2 [get, set] |
直线终点的 y 坐标 | |
属性 继承自 ILObject | |
LString | Name [get, set] |
对象的名称,默认为空。 大多数情况下,LPV 算法类并不使用这个名称。 若 ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多... | |
属性 继承自 ILSortable | |
int | Index [get, set] |
索引 | |
该类实现了 ILLine 接口,用于创建直线的实例。