Re: Does everyone make large objects, or is it just how I am using Dia?

2014-07-30 Thread Andrey Repin
Greetings, dunn!

> I also learned from your sample that shapes could be in subdirectories
> underneath the 'shapes' directory.

That's "normal" way of laying out shape sets. (If you peek into Dia main
directory, default sets are also separated into sub-directories.)
You can put them as deep into sub-directories, as your need demand it, if you
compose a very complex, but consistent set of shapes. If you noticed, shapes
are not referenced by their location, but by names.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 30.07.2014, <14:57>

Sorry for my terrible english...

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Do C Language plugins need to be compiled with Dia?

2014-07-30 Thread dunn
I know I'm causing a flurry of messages all at once, but I was wondering 
if a user makes a C Language plugin instead of Python, does it have to 
be compiled with the program, or does Dia find a library (and perhaps an 
XML file) in a folder and use it?


Thanks,
   -- dunn

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Does everyone make large objects, or is it just how I am using Dia?

2014-07-30 Thread dunn

Got it, Andrey!

I also learned from your sample that shapes could be in subdirectories 
underneath the 'shapes' directory.


Nice!

   -- dunn

On 07/30/2014 12:58 AM, Andrey Repin wrote:

Greetings, dunn!


I wondered why all the objects come in at the same size, since I need
some different sizes. I was amazed to see your Sector object come in
larger than the others. Surprise!  I had not seen that in any other samples.

That's
   25

I've used "Sector" shape as a backdrop to organize diagram.
http://project.rootdir.org/gallery/Hazeron/?show=WHMap.png
That's why I wanted it to be big enough.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 30.07.2014, <11:55>

Sorry for my terrible english...

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Does everyone make large objects, or is it just how I am using Dia?

2014-07-30 Thread Andrey Repin
Greetings, dunn!

> I wondered why all the objects come in at the same size, since I need
> some different sizes. I was amazed to see your Sector object come in 
> larger than the others. Surprise!  I had not seen that in any other samples.

That's
  25

I've used "Sector" shape as a backdrop to organize diagram.
http://project.rootdir.org/gallery/Hazeron/?show=WHMap.png
That's why I wanted it to be big enough.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 30.07.2014, <11:55>

Sorry for my terrible english...

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Double 'shapes' in shape files

2014-07-30 Thread dunn

Thanks again, Andrey!

So those were just coded that way because they were automatically 
generated.  It's nice to know that if I don't use the method, my objects 
will still come out ok.


   -- dunn

On 07/27/2014 01:43 AM, Andrey Repin wrote:

Greetings, dunn!


If this is more of an svg question and not something particular to Dia,
just let me know please!
All through the sample files, the shapes have xml like this, with two
calls to ellipses, rectangles, circles:




...but I get the same effect with just one call and a thicker
stroke-width like this:



I really don't even see how the sample files get a thick line from this,
since stroke-width:0.1 gives a hairline and the radii are the same in
both the calls.
Is there a reason to make shapes the first way as opposed to the second?

This is a deficiency of Dia's shape exporter.
I'm either make shapes by hands (if shape is simple enough, or if I need
precise results), or proof-read and cleanup the shape after export (if shape
is a complex/compound object).


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 27.07.2014, <12:41>

Sorry for my terrible english...

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Does everyone make large objects, or is it just how I am using Dia?

2014-07-30 Thread dunn

Thank you, Andrey!

I wondered why all the objects come in at the same size, since I need 
some different sizes. I was amazed to see your Sector object come in 
larger than the others. Surprise!  I had not seen that in any other samples.


-- dunn

On 07/27/2014 01:40 AM, Andrey Repin wrote:

Greetings, dunn!


What I really don't think I'll figure out from the samples is the
'xmlns=' part, because I have no samples of what should be there.

Just leave the first two lines as they are.
They define the file as XML, and specify the root element of the shape/sheet.


I suppose I'll lose the xml namespace and the duplicate shape
definitions. I only ask such things because I don't want to go back and
change the files I create because I didn't know the obvious.

I can show a simple shape I've created myself. Practically by hands.
Here. Hope that'll help you start.


http://www.daa.com.au/~james/dia-shape-ns"; 
xmlns:svg="http://www.w3.org/2000/svg";>
   Hazeron - Binary Stars
   Binary.png
   
 
   
   
   3
   3
   
   
 
 
   


I've attached a complete set of shapes with a sheet, though they are rather
crude, I haven't had enough time to polish them to the production quality.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 27.07.2014, <12:36>

Sorry for my terrible english...


___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia