I am using the StarUml to draw some component dialog,however I found that it is to difficult to make a straight line straight enough.
In visio, when I want to draw a Horizontal straight line,I can use the "Shift" key in my keybordl,how to do it in StarUml?
I also struggled with this one.
I solved it this way: right click on the line you have issues with. Select Format/Line Style/Rectlinear. Shortcut key CTRL + L.
Juha.
CTRL A + CTRL L should do it :)
I've been struggling with this problem too, and have just found the solution:
Select the object you're having straight line issues with, and ensure 'Auto Resize' is not enabled. This will let you resize your object so that all of its anchors snap to the grid. This in turn, will enable your line elbows to match up exactly with the middle of one of your object's edges.
Hope this helps,
Jamie.
Select Actor and Enable Two Options in the Image
Hope it Helps Some on.
Related
I'm having a little problem here in pencil project. I'm trying to put a curve line.
I tried this "free line" icon because I believe it is used to make curved lines. But it just appears as straight line when I use it, and I can't find the button or option to make it curved. Where can I find it? How can i make it curved?
It seems the curvy mode (just like the lines from multiple straight segments mode) only has an effect once both ends of the line are attached to connectors on other objects:
Note that you need to choose connectors that mandate a specific orientation of the connected line, such as the connectors on the edge of an object. The central connector won't do:
I am pretty new to this ray tracing software. It is simple to add custom surfaces and insert lenses from a catalog, but I can't figure out how to flip left-right a component without having to modify each surface manually.
This would be useful for instance using plano-concave lenses for collimation to reduce aberrations.
Can someone help me out?
Thanks!
Well i found out! In Tool>Modify there is a Reverse Element tool that is pretty straight-forward to use.
http://zemax.com/support/knowledgebase/how-to-reverse-an-optical-system
I even use the keyboard shortcut : Select all the surfaces (lines in the description window ) and press Ctrl+B
I'm very confused with a weird behaviour in Cocos2d-x, when I create a CCSprite and a CCMenu with a single CCMenuItem, even thought all of them are positioned at the same location.
mySprite->setPosition(ccp(0,0));
myMenu->setPosition(ccp(0,0));
mySprite is at one place and myMenu with its myMenuItem are at another location, what is happening? and how can I fix this?
Thanks! :'D
In a CCMenu you are not supposed to manually change the position of the items (and their children). Only change the position of the menu itself.
I found the answer, I was using setScale on CCMenu, this messes up the position of every child, you have to use setScale on each CCMenuItem instead of the CCMenu.
Sprite->setPosition(ccp(100,100));
Menu->setPosition(ccp(100,100));
I don't know if its a limitation of UML 1.4, or ArgoUML, but in a sequence diagram, I want to show an object calling a method in its own class, ie calling a sub-procedure.
If I drag from the object to itself, nothing happens :-(
Thanks,
Ant
You need to drag away, click, drag down, click, drag back to the original lifeline (ie make a U shape instead of a V shape or single line). It seems like more work than should be necessary, but it does work.
This works in 0.30.2. Not sure if it used to work differently (as Jordi's comment implies).
Not sure why you have problems with that. If you point the message arrow to the object column itself it correctly draws a reflexive message.
Have around 10 grid line distance between the two life line. Now select the New Create Action and put the cursor on life line where you want the self call. Now drag away around 3 gridlines and click from same point drag downward click and drag backward up to the same life line where you stared. Thats all done!!
I'd like to write a Linux screen magnifier that's customized to my liking. Ideally, the magnified window would be a square about 150 pixels wide that follows the mouse cursor wherever it goes.
Is it possible to do this in X11? Would it be easier to have an application window that follows the mouse around, or would it be better (or possible) to forget about the window altogether and just make the mouse pointer a 150x150 square that magnifies whatever's underneath?
Look at the source to xeyes?
This actually already exists, it's called Xmag (do a Google search for additional info). You might want to check out the source code for it if you want to know how it works.
EDIT: looks like I misread your question a little bit... if you want a magnified square to follow the mouse pointer around, I suppose it should be possible, but I don't know the technical details of how you'd do it. Regardless, the place to start is probably by looking at Xmag as a starting point.
I am unsure if this can run as its own app or would have to be integrated into your window manager. Either way, you would need libx11 (might have a different name from distro to distro). Also, I would suggest taking a look at swarp. I know this is not even close to what you are talking about, but the source code is only 35 lines and it shows what can be done with libx11.
I would personally make that a frameless window that always stays atop with a 1px hole in the middle. The events that the user makes (Mouse clicks, keypresses, whatever) is passed to the window below.
And when the user moves it's cursor it is ought to be visible to your window and you just move it over a bit. For the magnifying part, well - that is left as an exercise to the reader (Because I do not know how to do that as of yet ;-).
Texworks comes with such a feature to inspect the pdf resulting from typesetting a latex source. You can also choose between a square or a circular magnifier. See https://www.tug.org/texworks/ for access to the code which can serve a launchpad.