Jump to content

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


BoltBait
 Share

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:

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
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.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
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++)

Link to comment
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

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

  • 1 month later...

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)?

deviantart.jpg mp.jpg

Link to comment
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.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
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.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
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

iniasmall1qc7.gif
Link to comment
Share on other sites

Kaleidoscope. Oh, and nice effect. ;)

v An excellent open–source strategy game—highly recommended.

 

"I wish I had never been born," she said. "What are we born for?"

"For infinite happiness," said the Spirit. "You can step out into it at any moment..."

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...
  • 9 years later...

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.

 Share

×
×
  • Create New...