change the grip size

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

change the grip size

jaise
How can i increase size of grip handle. It is too small in size.

Grip very small

If it is activated on single click [on grip handle], it will be very useful.




Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

jaise
Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

dxli
In reply to this post by jaise
looks like we have the same issue of small sizes on higher resolution displays.

jaise wrote
How can i increase size of grip handle. It is too small in size.

If it is activated on single click [on grip handle], it will be very useful.
Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

jaise
Some grip details from Zcad [http://sourceforge.net/projects/zcad/].







Source code available at http://svn.shamangrad.net/zcad/trunk/

Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

ravas
Are you interested in programming?

void RS_Painter::drawHandle(const RS_Vector& p, const RS_Color& c, int size) {
    if (size<0) {
        size = 2;
    }
    fillRect((int)(p.x-size), (int)(p.y-size), 2*size, 2*size, c);
}
Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

jaise
I have not any programming earlier. But we have some subject during study.


Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

jaise
But current ortho mode, we have to enter both axis [example 150,0]. So there is no much use during actual dwg.

Usually most of 2D dwg contains 80% to 90% lines are ortho. So If ortho work improved, So much time can be saved during dwg preparation.

During ortho, if we able to input only 150 neglecting 0, it will be very easy & save lot time during dwg.
Reply | Threaded
Open this post in threaded view
|

Re: change the grip size

jaise
In reply to this post by jaise
sizing of handle with factor of 2.5 is OK.





void RS_Painter::drawHandle(const RS_Vector& p, const RS_Color& c, int size) {
    if (size<0) {
        size = 2;
    }
    fillRect((int)(p.x-2.5*size), (int)(p.y-2.5*size), 5*size, 5*size, c);
}