Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 8th, 2025, 8:55 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: DLL with drawing functions
PostPosted: November 29th, 2007, 8:31 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi

I've been looking for a DLL that has graphic drawing functions that can be called from within an Opus pub. While the new v6 drawing functions could substitute for some of the drawing needed, the end-user would need to be able to draw several more items not available in the v6 draw function pallette, plus be able to erase "mistakes."

Searching extensively online, I haven't been able to locate any appropriate DLL's and am hoping for some leads.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: November 30th, 2007, 10:07 am 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
Hi Stephen,
rather than using a DLL, why not create your own drawing functions?? This would be a much easier route. You could then have a function for 'any' shape.
the pseudo code for a function would be



Code:

function DrawTriangle(A,B,C)
{
DrawLine(A to B)
DrawLine(B to C)
DrawLine(C to A)
}



and to call the function you would have DrawTriangle (A,B,C)

to erase, you just call the function again using the background colour.
You have to be aware with drawing tools. If you look at the new examples --the freehand drawing, for example..... try it and just keep drawing, eventually it gets slower and slower response--as if it has to store and redraw every segment at each screen refresh--eventually.... instead of a smooth freehand line, you get short strainght sections, but for most uses, you probably won't suffer this effect.
sandy

_________________
Whoever designed this, never actually used it!


Top
 Profile  
 
 Post subject:
PostPosted: November 30th, 2007, 12:25 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Sandy

Thanks for your reply and helpful suggestions.

So far, the design I've come up with: since I already have a drop zone box with pedigree symbols cloned, dragged and dropped into it, saved (including all display data) and able to be re-loaded, I would add a transparent drawing frame on top for lines that can visually connect the symbols below. The trick will be getting names for these multiple lines, so they can be saved (including all display data, especially pos and angle)then re-loaded at a later boot-up of the pub.

A bit of tough going for me, but an interesting challenge.

Again, thanks for your suggestions.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 1:36 am 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
can't find freehand drawing example publication :(

_________________
Opus Pro 05
http://www.waspinagermanhelmet.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 2:42 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Craig,

Maybe I am misunderstanding what you are looking for. The sample I am referring to is in my full version of Opus 6.4, but I am not sure it is in the trial version.

Browse Sample Publications>New Feature Highlights>Drawing Tools

In this drawing tools pub, you can select a freehand line drawing tool to draw on screen in a frame.

HTH

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 2:26 pm 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
I don't have that in the trial - any chance you could pot it on the forums?

I just want to see what's possible

_________________
Opus Pro 05
http://www.waspinagermanhelmet.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 2:43 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Craig,

I suspect this is something you could ask DW support to send you.

Not sure why its not in your version, but not mine to give away.

Check with DW.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 9:08 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Surely it's there. At least I thought it was included back when on trial. "New Feature Highlights" is the Pub. Drawing is one of the pages within it.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2009, 10:05 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
No it's not there :-?

Try emailing DW, they might let you have a copy.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group