You are not logged in.

water

Beginner

  • "water" is female
  • "water" started this thread

Posts: 9

Location: China

Occupation: student

  • Send private message

1

Sunday, May 29th 2005, 1:50pm

draw picture

hi.
I want to draw a smooth line with 50 num,and the 50 number is float
in canvas use canvasline only vaild use int
how can I do
also can you tell me how to use canvasspline,

void QCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )
Set the spline control points to ctrl.

If close is FALSE, one additional control point is required, and the number of control points must be one of (4, 7, 11, ...).



my english is poor.I don't understand when close=false
how to give the QPointArray,
study study hard
day day up