Paint.NET

Welcome to the Paint.NET forum!
It is currently Sun Nov 22, 2009 10:54 am

All times are UTC


Forum rules


Questions or problems with plugin installation? Click here.



Post new topic Reply to topic  [ 173 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next
Author Message
 Post subject: Align Object Plugin - Updated 06/17/2007
PostPosted: Fri May 25, 2007 5:17 pm 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
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.
Image

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
Image
Aligned Left
Image
Aligned Top Left
Image
Center and Middle
Image


Attachments:
AlignPlugin.zip [12.58 KiB]
Downloaded 133 times


Last edited by Ego Eram Reputo on Thu Nov 19, 2009 7:14 am, edited 12 times in total.
Zip file added by EER 19 November 2009
Top
 Profile  
 
 Post subject: Re: Align Object Plugin
PostPosted: Fri May 25, 2007 5:52 pm 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
moc426 wrote:
Center and Middle
Image



This will be immensely helpful!

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 5:55 pm 
Offline
User avatar

Joined: Fri Sep 02, 2005 4:44 pm
Posts: 2835
Location: Lyon, France
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 6:19 pm 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 6:24 pm 
Offline
User avatar

Joined: Fri Sep 02, 2005 4:44 pm
Posts: 2835
Location: Lyon, France
Quote:
Maybe I can get some help from Rick himself

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 6:24 pm 
Offline
User avatar

Joined: Thu Aug 24, 2006 2:13 pm
Posts: 603
Location: Denmark
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.

_________________
Image
My DA: http://leif-j.deviantart.com/
--------------
Some people seek justice so persistent, that they will do great injustice themselves.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 7:28 pm 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
Source added now.

Bob wrote:
Quote:
Maybe I can get some help from Rick himself

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 7:46 pm 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
How about an interface like this?
Image

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 7:56 pm 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
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.

barkbark00 wrote:
How about an interface like this?
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 10:26 pm 
Offline
User avatar

Joined: Fri Sep 02, 2005 4:44 pm
Posts: 2835
Location: Lyon, France
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 10:36 pm 
Offline
User avatar

Joined: Fri Sep 02, 2005 4:44 pm
Posts: 2835
Location: Lyon, France
Image

Just a thought, nothing mandatory.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 12:23 am 
Offline
User avatar

Joined: Tue Apr 10, 2007 3:40 am
Posts: 3090
Location: Ohio
Regardless, it's a well needed plugin :D

_________________
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former"
Image
[ dA Paint.NET Chat :: Yata on dA ]


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 12:39 am 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
Yah until Rick does something like this... (where it really should be, hint hint hint COUGH COUGH HINT)

Image

Yata wrote:
Regardless, it's a well needed plugin :D


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 12:51 am 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
I think something like this would be the easiest to understand...
Image

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 11:48 am 
Offline
User avatar

Joined: Tue Apr 03, 2007 2:03 am
Posts: 3474
Location: Ye Olde Dominion
I liked the first GUI better, it made more sense.

_________________
Paint.NET Gallery | DevART Gallery | DQ: Horizons | Erepublik
Image
Obviously the big difference between a dream and real life is that if the Hamburglar came bursting out of
your refrigerator right now and started screaming at you in Vietnamese, your first thought would be "This
is a strange and unusual event that is occurring right now, and I should question my perceptions." If the same
thing happens in a dream, you just go with it. -Cracked.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 173 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next

All times are UTC


Who is online

Users browsing this forum: georgian and 22 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:  
Hosted by Forumer & phpBB

Get your Forumer™ today!

Adding a forum to your website is a great way to get return visitors.

» Get your own Free Forum!

Terms of Use

Privacy Policy

Report Abuse

Copyright © 2003-2009 Forumer. All Rights Reserved. | Copyright © paint.NET