Sign in to follow this  
BoltBait

Drawing Triangles, Pentagons, Stars, etc. Plugin: 2007-02-09

Recommended Posts

Please let me know if there are not enough files included to build the project.

Everything is fine : I've opened the project with VS C# (express version). I press F6, "built success"...

This source shows me how much I need to learn about C#. I have some technics but if I don't know the words...

Thanks a lot!

MadJik, as you look through the source code, read this thread: http://paintdotnet.12.forumer.com/viewt ... 4136#24136

Madjik, I think you can bookmark this:

http://www.siteduzero.com/tuto-3-1946-0 ... ertis.html

Don't be afraid by the header which said that you had to know C/C++, as far as I see, it's very well explained.

(worst english sentence ever written)

edit:typo.

Bob, I checked out that site, but I really couldn't get anything out of it. :?

Perhaps it is because I don't speak French? :idea:

Share this post


Link to post
Share on other sites
I have split this thread into two parts.

All talk about drawing curved shapes was moved here:

http://paintdotnet.12.forumer.com/viewtopic.php?t=3464

Now, MadJik is the topic starter for that one and he can manage it.

Thanks for that! I've updated the plugins...

BTW there is a small bug in the polygon.

One line is always overwritten due to the vertice loop:

please for your next update change this

for (int P = 0; P <= token.Verticies; P++)

to this

for (int P = 0; P < token.Verticies; P++)

Share this post


Link to post
Share on other sites
BTW there is a small bug in the polygon.

One line is always overwritten due to the vertice loop:

please for your next update change this

for (int P = 0; P

to this

for (int P = 0; P

Good catch. I have fixed the bug and reposted the dll.

The bug will make one of the anti-aliased lines appear slightly darker than the others. Aliased lines were not effected. Oh, and because it is drawing one less line, it is now faster! :D

Share this post


Link to post
Share on other sites

I have a problem... I'm still using version 2.72 of paint net cause I'm under windows 2000.

I download the dll from the first post in this topic, but I didn't see the voice in Effect menu.

I also try to create the dll using codelab, but it give an error.

Is there any way to have visual interface in version 2.72 like in version 3 (the form where I can select option)?

Share this post


Link to post
Share on other sites
I have a problem... I'm still using version 2.72 of paint net cause I'm under windows 2000.

I download the dll from the first post in this topic, but I didn't see the voice in Effect menu.

I also try to create the dll using codelab, but it give an error.

Is there any way to have visual interface in version 2.72 like in version 3 (the form where I can select option)?

Sorry darknight, please read the rules, #5. http://paintdotnet.12.forumer.com/viewtopic.php?t=3446

Plugin authors are compiling for Paint.NET v3 now, and there are just differences that prevent compatibility in some cases.

Share this post


Link to post
Share on other sites
I have a problem... I'm still using version 2.72 of paint net cause I'm under windows 2000.

I download the dll from the first post in this topic, but I didn't see the voice in Effect menu.

I also try to create the dll using codelab, but it give an error.

Is there any way to have visual interface in version 2.72 like in version 3 (the form where I can select option)?

There is a note in the CodeLab script on the first page of this thread to help you getting this working on version 2.72. It looks like this:

ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.PrimaryColor; // for 2.72 use .ForeColor

Just change the line like this:

ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.ForeColor;

and it will work for 2.72 CodeLab.

As for a UI, sorry, you'll just have to live with CodeLab on this one.

Share this post


Link to post
Share on other sites

This is fun on its own, and amuses me just far too much when combined with the Fragment plug-in. But then, I'm a total newb at this.

I made a 7 pointed star, fragmented it, added some color, and fragmented again. Makes a nice kalaidescope (sp?) effect (or floral with the straight edges brushed off).

fragmentedflowerom2.png

Share this post


Link to post
Share on other sites

I am loving this plugin! I think this is the best addition to Paint.NET that I have found to achieve that Web 2.0 look! Thanks guys!!

My own example:

header.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this