Hi,
Yes, unfortunately we still don't have an official tutorial. But inside
the documentation you can find a tutorial for IupLua which can help you
>understand the concepts.
Well, the basic concepts I think I'm starting to grasp them (I ported
several of the iup examples to julia, and even cdtest is mostly working).
But a problem is when things simply don't work and I don't understand why.
For example, I struggled a couple of days why my cdCanvas had zero size
and cdCanvasLine simply didn't error ... nor plot anything.
Also, still to be soved, if I load an image and next draw lines on top of
it, the image simply disappears.
Regarding IupCanvas, the process is the same. There are several
callbacks you can use to handle mouse input. You just have to store the
information >you need afterwards.
That is what I thought to do but I hoped that info would already be stored
somewhere inside the lib.
Best,
Scuri
On Tue, Jan 20, 2015 at 6:00 PM, Joaquim Luis <[email protected]> wrote:
No, your message from "(a ~week ago)" never arrived. It is not even
on Moderation.
Well, basically was a cry of frustration to not find tutorials to help
us out to understand how to put the various IUP pieces together.
António, IUP looks very powerful but without tutorials it's extremely
difficult (at least to me) to learn how to make use of it.
I used Matlab before but can't remember the Axes 'CurrentPoint'
property. Assuming that you are talking about the IupPlot control,
well there are >>>several callbacks that allow you to get the last
clicked point.
You can about see about 'CurrentPoint' in
http://www.mathworks.com/help/matlab/ref/axes-properties.html but
basically it gives the coordinates of >>the last clicked point.
And no, it's not IupPlot (though it would be the same need if I was
using it). In the present case, it's for drawing a polyline in a
cdCanvas. Note that >>I'm am already able to do it but I want to create
an upper level abstraction (hence the Matlab analogies).
My final (dream) goal is to port this large program of mine to use
IUP+Julia
http:// w3.ualg.pt/~jluis/mirone
Joaquim
Talking about Matlab, the IUP version in SVN has a new function to
create datasets in IupPlot controls using Lua in a very simple
interface that >>>does not requires the application to be in Lua.
Best,
Scuri
On Tue, Jan 20, 2015 at 12:57 PM, Joaquim Luis <[email protected]>
wrote:
Good, but there was another one before (a ~week ago) with a true
content.
I have so many questions but I'll refrain and profit to ask only this
one.
Is there a way to know the coordinates of the last clicked point? I
think I could program it anyway but perhaps that's already available.
What I want to do is mimic what in Matlab is done by asking the Axes
'CurrentPoint' property (in fact I want to mimic several other Matlab
>>>>handle graphics functions ... in Julia)
Thanks
Joaquim
I saw your last post... and this one.
Best,
Scuri
Em 20/01/2015 11:04, "Joaquim Luis" <[email protected]> escreveu:
Sorry,
I don't see my last posts in the mailman archive.
Please, can someone just reply to this message so I know that the
messages
are passing to the list?
Thanks
Joaquim
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn,
VA.
GigeNET is offering a free month of service with a new server in
Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely
compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users