Jump to content

Mike Ryan

Members
  • Posts

    4,239
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Mike Ryan

  1. Are you sure that you are browsing to this location: Also, are you using a localized version of Paint.NET?
  2. yeah, Aeonix PM'd me about it a few minutes ago. It should be working and dandy now
  3. You mean sample code? My just published Silhouette Plus plugin contains the source code with examples on how to use the drop down menu.
  4. Maybe the license agreement? Perhaps knowing that there is an offline resource? I say let it be.
  5. Thank you, it is much appreciated. @Simon: For those reasons is why I included the installation procedure in the first post. I am sorry, but this setup is used to force the user to understand that there is an included Readme file
  6. About! Silhouette converts the entire canvas into your selected color while preserving the alpha levels of each pixel. As well, you can also specify an alpha range in which to silhouette. This is usefull for object manipulation and for testing the transparency of the canvas is particular areas. How to Install To install this plugin, either copy and paste the included DLL into your Paint.NET Effects folder. From there, the plugin should then be included in your Object submenu. If not, please post in the Plugin Troubleshooting thread found in the Plugins - Publishing Only forum. Please note that this plugin is incompatible with Simon Brown's Right Click Install application. Silhouette Plus.zip
  7. A) Not possible! An effect only has access to the layer it is being run on Perhaps.
  8. Thank you for the input, Tendercrisp. I have taken your idea and added it into it. Yes, an update!
  9. I believe he is referring to ThreadsMarker. However, the name itself seems to have no meaning to anything Paint.NET related so I am going to let it slide 8)
  10. Sorry guys. I was out on vacation but I AM BACK! And yes, Xpired is correct: he won and now we need a theme
  11. Sorry for the delay, all. I have been away on vacation and promised to keep some seperation between my good life (here) and the blegh wedding :? Anyways, user -Expiration- (aka Xpired) has won!
  12. Yes, makes since. image/x-paintnet it is then!
  13. Quick question that search did not reveal: does the PDN default filetype have a set MIME Type? For once I have a server that will allow for PDN uploading yet I have found no public resource on the default MIME Type the '.PDN' is associated with. Thanks in advance!
  14. Well, a few days have come and gone. Any ETA of a fix, yet?
  15. If you are running in Vista, try running Paint.NET as an administrator (Yes, I know you are on an administrator account, but if you right click on a shortcut or .exe file you should see the option to run as administrator)
  16. Really, it doesn't matter much as that wasn't intended to be pure content. I was simply saying in that part of the tutorial that you can use the Key adjustment to burn or dodge an image
  17. Don't worry Sabrown, I am sure Tanel, rwp80, nor I are going to get onto you for writing your own version of our plugins
  18. And besides, this was made for symbols. Not every font in the whole wide world
  19. So I can request this tutorial be locked and trash the upgraded code i was working on?
  20. For those interested in a basic tutorial on adding font types, please read this tutorial: viewtopic.php?f=5&t=25502
  21. Adding Font Types to WhichSymbol A Codelab Tutorial for Non Code Lab users First of all, before we get started I wanted to say that I am not going to use any coding jargon or make references to the coding language used, C#. However, you must have the plugin Code Lab succesfully installed. For more information about how to install plugins, please visit this thread. Alright, so with that aside let us go ahead and get started. First, let's take a look at the original code, graciously provided by Ego Eram Reputo, which can be found here. Because we are not going to even mess around with all of the code, I am not going to post all of it here. Just the nibbles we will be working with First part we have to do is edit the 'controls'. These are just some numerical additions and nothing more, take a look: #region UICode int Amount1=42; // [32,255] Character int Amount2=150; // [8,255] FontSize int Amount3 = 1; // [1,4] Webdings Wingdings Wingdings2 Wingdings3 bool Amount4 = true; // [0,1] Show Entire Font #endregion Look at line four of that code: it specifies which font we are going to work with. So, the part that contains '[1,4] specifies the range in fonts. So, the only work there is change the number 4 to the number of font types you wish to add. In my case, I am just adding one. Next, we need to specify the font. Which font are you adding? First, find the true name (the name that is in the list of fonts) of the font you wish to add. In my case, I am adding Carbon Black as I often use it for single letter designs. So, take a look next at this part of the code: Webdings Wingdings Wingdings2 Wingdings3. After the word Wingdings3, add the true name of your font. By personal preference, I have spiffed mine up a bit for general purpose of neatness. Take a look: int Amount3 = 5; // [1,5] 1) Webdings, 2) Wingdings, 3) Wingdings2, 4) Wingdings3, 5) Carbon Black With that taken care of, it is time to perform the direct code modifications. The first part is we have to add our font to the font lists. Find this part of the code: Font F1 = new Font("Webdings", Amount2); Font F2 = new Font("Wingdings", Amount2); Font F3 = new Font("Wingdings 2", Amount2); Font F4 = new Font("Wingdings 3", Amount2); After the fourth line, create a new line and type: Font F5 = new Font("TRUE NAME", Amount2); Replace the words TRUE NAME with the true name of your added font type. Now, your code should look similar to mine: Font F1 = new Font("Webdings", Amount2); Font F2 = new Font("Wingdings", Amount2); Font F3 = new Font("Wingdings 2", Amount2); Font F4 = new Font("Wingdings 3", Amount2); Font F5 = new Font("Carbon Black", Amount2); Now we have to reapply the previous steps. Excuse the copy and past Find this part of the code: Font F11 = new Font("Webdings", 16); Font F12 = new Font("Wingdings", 16); Font F13 = new Font("Wingdings 2", 16); Font F14 = new Font("Wingdings 3", 16); After the fourth line, create a new line and type: Font F15 = new Font("TRUE NAME", 16); Replace the words TRUE NAME with the true name of your added font type. Now, your code should look similar to mine: Font F11 = new Font("Webdings", 16); Font F12 = new Font("Wingdings", 16); Font F13 = new Font("Wingdings 2", 16); Font F14 = new Font("Wingdings 3", 16); Font F15 = new Font("Carbon Black", 16); Now that we have added our font, it is time to make just two more revisions (Hurrah!). Find the following code: switch (Amount3) { case 1: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F1, B1, selection.Left, selection.Top); break; case 2: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F2, B1, selection.Left, selection.Top); break; case 3: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F3, B1, selection.Left, selection.Top); break; case 4: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F4, B1, selection.Left, selection.Top); break; } If you looked hard enough, you should have found that there are two sections of code that look just like that, almost. So pay certain attention when finding the code. Alright, after the block that looks like this: case 4: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F4, B1, selection.Left, selection.Top); break; We are going to add a very similar set of lines. Go ahead and create a new line beneath the above code, and type this: case 5: symbol = Convert.ToString((char)Amount1); g.DrawString(symbol, F5, B1, selection.Left, selection.Top); break; Easy, right? Although, let it be known that if you are adding multiple fonts you must type that in multiple times. Simply change the word case 5: to the next number in the series. Do the same for the word F5 Now we just have to reapply. Again, I am going to copy and paste the above and modify it as fit. So I apologize Find the following code: switch (Amount3) { case 1: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F11, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; case 2: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F12, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; case 3: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F13, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; case 4: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F14, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; } If you looked hard enough, you should have found that there are two sections of code that look just like that, almost. So pay certain attention when finding the code. Alright, after the block that looks like this: case 4: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F14, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; We are going to add a very similar set of lines. Go ahead and create a new line beneath the above code, and type this: case 5: symbol = Convert.ToString((char)(32+(Rank*15)+File)); g.DrawString(symbol, F15, B1, selection.Left+((File+1)*32), selection.Top+((Rank+1)*2*16)); break; Easy, right? Although, let it be known that if you are adding multiple fonts you must type that in multiple times. Simply change the word case 5: to the next number in the series. Do the same for the word F5 Alright, you are finished! From here, I am going to presume you know how to build the code. If not, I recommend reading this article. If you need any more assistance, please post it in this thread. Happy modding!
  22. So, if I understand correctly: I can now play chess through Paint.NET? Awesome.
  23. I am not saying roll out every little plugin here. And besides, pyrochild's plugins differ enough to merit multiple roll outs. You wouldn't want to use Smudge and Curves+ in one plugin, yet being able to set the conditions for my custom brushes would be useful. Or if my custom brushes could gradient in color, or mask out the image, or other features like that. If you want to maintain smaller plugins, at least do the power users a favor and bndle it up in one roll out as well.
  24. Seriously? Why do you not bundle up some of these brush plugins into your Custom Brushes plugin and roll it out as an advanced plugin? You say 'feature clogged', but things like this, masking, gradient colors, etc... in one plugin would be HUGE.
×
×
  • Create New...