Jump to content
How to Install Plugins ×
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted

Ok here it is, this plugin will align your drawing on the canvas OR to your selection. Let me know of any bugs, comments ... etc.

updated 06/17/2007

v1.5.1

performance tweak. barkbark00, I think you should see the performance issue gone, but let me know.

updated 06/13/2007

v1.5 - the download link should give you the new dll. the source is not latest, will add that later.

Added horizontal, vertical and both options.

New user interface. Default option is Middle Center.

Better Performance???

Preview still doesn't work right but you don't really need a preview, you know what will happen! But maybe one day I can fix that. NOTE: If the preview is messed up, click the same option again, it should fix the preview.

If you find bugs let me know ... I will see what I can do.

 

alignpluginpreviews.png

 

Download the Zip file at the bottom of this post (old link: download dll)

edit: added source, this source is old. latest source added on 10/15/2007, forgot to add this a while ago.

download source.

Currently you can align Left, Center, Right, Top, Middle or Bottom.

To do combinations such as Top Left, you need to run the plugin twice, once for each mode.

The preview for Top, Middle and Bottom is screwy, I still get very confused with the way pdn splits the image into rectangles and runs them in parallel so the preview ends up erasing some parts it shouldn't but when you apply it works correctly. Maybe I can get some help from Rick himself on this later or anyone else who may be able to.

Here are some screenshots:

Original

 

original-1.png

Aligned Left

 

alignedleft-1.png

Aligned Top Left

 

alignedlefttop-1.png

 

Center and Middle

 

 

alignedcentermiddle-1.png

 

Download Here:

:UpdatesInstallNow:AlignPlugin.zip

  • Like 1
  • Thanks 2
  • Upvote 3
Posted

Hey I didn't seen it at first sight! Thanks Barkbark for pointing it!

And thank you, moc426 for writing this plugin.

I need to test it a little but I think it can be a must have.

No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio

Posted

I added 2 more previews to demonstrate better the use of align to selection.

Glad it will be helpful to you guys, it is very useful for myself.

Posted
Maybe I can get some help from Rick himself

What about sharing the code so people can help you? :)

No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio

Posted

The preview is a bit confusing at first. But once you have seen how it all works, it doesn’t matter.

Great plugin. Thank you.

My DA: http://leif-j.deviantart.com/

--------------

Some people seek justice so persistent, that they will do great injustice themselves.

Posted

Yah if I can make it do 2 functions same time then I can change the interface, which it doesn't currently do. That would need another row or column of buttons though, because you may want to just center (left to right) and not middle (top and bottom) or 3 center buttons. meaning center vertically, center horizontally and center both.

How about an interface like this?

Align.png

Posted

Yah until Rick does something like this... (where it really should be, hint hint hint COUGH COUGH HINT)

alignmenu.png

Regardless, it's a well needed plugin :D
Posted
I like that idea bb00. I'm not sure about all of the little PDN symbols though.
Haha firefly. This looks great though. It's not as exciting as the effects but it is much needed tool.

Cheers for making it ;D

  • 3 weeks later...
Posted

Yah thats what I meant about the preview not working. Try clicking the same Button again, it should fix the preview. i.e. if you did top, click top again, it will render it correctly the 2nd time in the preview.

No object drawn...Disappeared !

I've retried. It's the rendering that doesn't show properly...

After OK it's correct!

Posted

When I post the source later, I will have you fix it :D Or at least spot the problem. If I get vs 2005 I should be able to debug it better and work out the issue.

That's a weird bug...

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.

×
×
  • Create New...