How to draw line advanced
-
I want to draw sinusoidal line shape triangle, square shape, triangular shape with rounded top, line consists of several parallel lines which some are thicker than cetain other
I want to use a property for it. When selects a value from that property, line is transformed
exempl:_ _
| |__| |////
@_
_@
How will I do?
-
Hi Sam
I'm afraid I don't understand your question. Perhaps you could provide us with an image, sketch or diagram to help with the explanation?
-
I want to draw those type of line like below:
-
-
Gerolf do you have an URL for public gallery, where I can put my image??
What I want is:
to draw a line in big wave and small wave, large niche and small niche.
I try to use cubicTo but it does not work well. Maybe it's due to my checkpoint(controle points).This is my code:
@QPointF c1, c2,tmp;
if(p1.y() <= p2.y())
{
if(p1.x() <= p2.x())
{
int j = p1.y();
int i=p1.x();
int step = 30;
while(i < p2.x())
{
c1.setX((i+step)/2+step);
c1.setY((j+step)/2);
c2.setX((i+step)/2+step);
c2.setY((j+step)/2);
tmp.setX(i+step);
tmp.setY(j+step);
aio_path.cubicTo(c1,c2,tmp);
aio_path.moveTo(tmp);
j+=step;
i+=step;
}
c1.setX((i+step)/2+step);
c1.setY((j+step)/2);
c2.setX((i+step)/2+step);
c2.setY((j+step)/2);
tmp.setX(i+step);
tmp.setY(j+step);
aio_path.cubicTo(c1,c2,p2);
}
else
{} }@
-
My image is here. At the bottom
"Your text to link here...":http://tripwow.tripadvisor.com/tripwow/builder/?cs=ihnbm&ssid=ta-demo&theme=&affinity=# -
[quote author="SamFaye" date="1315824070"]Help please.[/quote]
Please practice some patience. It is not acceptable to "kick" your topic within 24 hours, some would argue to allow a week before expecting an answer. The fact that the issue may be "urgent":http://catb.org/~esr/faqs/smart-questions.html#urgent for you does not make it urgent for anybody else around here. -
I can't find your image.
You should try some other place for delivering your image.