F
firnwolf
Unregistered / Unconfirmed
GUEST, unregistred user!
我用framergn画边界,但是怎样才能画象line()中点线的效果.
现在我的代码如下:
hr:=CreateRoundRectRgn(10,10,100,100,50,50);
canvas.Brush.Color:=clred;
paintrgn(Canvas.Handle,hr);
canvas.Brush.Color:=clblue;
framergn(canvas.Handle,hr,canvas.Brush.Handle,1,1);
现在我的代码如下:
hr:=CreateRoundRectRgn(10,10,100,100,50,50);
canvas.Brush.Color:=clred;
paintrgn(Canvas.Handle,hr);
canvas.Brush.Color:=clblue;
framergn(canvas.Handle,hr,canvas.Brush.Handle,1,1);