Jump to content

xod

Members
  • Posts

    632
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by xod

  1. I think in paint.net 4.1.3 some changes have been made because now in VS I have this warning:

    'PropertyBasedEffect.PropertyBasedEffect(string, Image, string, EffectFlags)' is obsolete: 'This constructor is deprecated. Use an overload that takes an EffectOptions instance.'

  2. 8 hours ago, welshblue said:

     

    Is it possible that the thickness of the rings can be altered individually ?

     

     

    Yes, I'll do that in the next few days.

    But there is a problem with the distance of the circles to the text that depends on the font characteristics.
    The circles were originally designed for guidance only.
    I think creating these circles (if necessary) in their own layers is more useful.

    • Like 2
  3. @Pixey, I reloaded the zip file in the first post. New version was made with OptionBasedLibrary. Please read the Readme file.
    I don't know what is wrong with your download, may be you need to manually delete the old file from the Effects folder.

  4. First of all, thank you very much for your work.

     

    Secondly, about AngleChooser, sometimes it's useful to set a zero-trigonometric value to +90 degrees. This could be added as an option in the Style drop-down list.
    Default: trigonometric zeros
    Custom: zeros to +90 degree

     

    I don't know how much work this option requires and that's why I don't want to insist. Anyway, I can live without it. ?

  5. Replaced with v1.3.

     

    UI has no ColorWheel anymore.

     

    Because my English is pretty poor I will quote EgoEramReputo to describe the new feature:
    "Creates text mask using the source layer as the text fill, alternatively creates transparent text within the source layer".

    Thanks again to toe-head2001 for his TextWindow plugin code.

     

    And a very simple way to use this plugin:

     

    • Like 2
    • Upvote 2
  6. Thanks ReMake but I already have these lines of code:

    Spoiler
    
     public class PluginSupportInfo : IPluginSupportInfo
        {
            public string Author => base.GetType().Assembly.GetCustomAttribute<AssemblyCopyrightAttribute>().Copyright;
            public string Copyright => LangStrings.EffectDescription;
            public string DisplayName => LangStrings.EffectName;
            public Version Version => base.GetType().Assembly.GetName().Version;
            public Uri WebsiteUri => new Uri("http://www.getpaint.net/redirect/plugins.html");
         }

     

     
     
     
     
     
    29/5000
     
     
     
     
     
     
     
    29/5
  7. I'm trying to translate my plugins into my language and everything goes right except for the title in the

    window that remains unchanged. Is there a trick I should know?

    Spoiler
    
    public string DisplayName => LangStrings.EffectName;
    
    using System.Globalization;
    
    namespace TestEffect
    {
        internal static class LangStrings
        {
            private static readonly string UICulture = CultureInfo.CurrentUICulture.Name;
    
            internal static string EffectName
            {
                get
                {
                    switch (UICulture)
                    {
                        case "ro":
                            return "The effect name in my language";
                        default:
                            return "The effect name in english";
                    }
                }
            }
    ...

     

     

  8. It is the same plugin made with the OptionBased library.

     

    1. I can't figure out how to disable 'Inner circle', 'Outer circle' and 'Pen width' when I uncheck  'Draw the circles'.
    2. If I modify the Alpha channel for any Colors tab and then run the Pan or Rotator controls (not the sliders) the canvas is not updated with the chosen color.

     

    Download

    • Like 1
×
×
  • Create New...