L
linglingfa
Unregistered / Unconfirmed
GUEST, unregistred user!
各位:
在delphi里有一段语句如何把它转成C++BUILDER中的语法???
1:delphi: TLineHandleArray = array[Low(THandlePosition)..High(THandlePosition)] of TLineHandle;fHandles: TLineHandleArray;
C++BUILDER呢????????
2:Low和High在C++BUILDER中是用什么替代的?
3:下面一段又如何转换呢?
procedure TLine.Assign(Source: TPersistent);
begin
fStartPoint:=TLine(Source).StartP;
fEndPoint:=TLine(Source).EndP;
fArrow:=TLine(Source).Arrow;
fArrowWidth:=TLine(Source).ArrowWidth;
fArrowLength:=TLine(Source).ArrowLength;
Canvas.Pen.Color:=TLine(Source).Canvas.Pen.Color;
Canvas.Pen.Width:=TLine(Source).Canvas.Pen.Width;
end;
在delphi里有一段语句如何把它转成C++BUILDER中的语法???
1:delphi: TLineHandleArray = array[Low(THandlePosition)..High(THandlePosition)] of TLineHandle;fHandles: TLineHandleArray;
C++BUILDER呢????????
2:Low和High在C++BUILDER中是用什么替代的?
3:下面一段又如何转换呢?
procedure TLine.Assign(Source: TPersistent);
begin
fStartPoint:=TLine(Source).StartP;
fEndPoint:=TLine(Source).EndP;
fArrow:=TLine(Source).Arrow;
fArrowWidth:=TLine(Source).ArrowWidth;
fArrowLength:=TLine(Source).ArrowLength;
Canvas.Pen.Color:=TLine(Source).Canvas.Pen.Color;
Canvas.Pen.Width:=TLine(Source).Canvas.Pen.Width;
end;