Jump to content

xod

Members
  • Posts

    632
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by xod

  1. I looked at the PrintIt effect and it seems that OptionBased can display the list of installed fonts, but I don't know how ...
  2. Thanks for the reply. So there is no simple solution?
  3. Yes, you're right is just visual issue. Does not affect the plugins made with OptionBasedLibrary.
  4. I think that with the launch of the new version of paint.net 4.1.1 CodeLab should also be revised. Color Wheel Control does not behave properly. As shown in the image below, I chose the Default style but the chosen color has Alpha = 0 although I do not have a slider for Alpha.
  5. How to add list of installed font in a drop down? new OptionEnumDropDown<FontFamily>(OptionNames.Test, optContext) This does not work: The type 'FontFamily' must be a non-nullabe value...
  6. PDN crashes. Repro: 1. Choose Orientation tab 2. Reference Scale - Factor : move the slider to minimum value or near 3. Apply
  7. Is there a way to make the VectorPan control background to have the color of the canvas?(OptionBasedLibrary)
  8. Thank you all for your appreciation. It's not really my code. I'm not so skilled. It is mostly taken from here: http://csharphelper.com/blog/2018/02/draw-text-on-a-circle-in-c/ I have only adapted it for pdn in CodeLab. Note: The plugin has a small bug that I just fixed it on. It does not run properly on large canvas (e.g. 7000 x 7000px). Please download the new version 1.2. The font size was increased to 800.
  9. Found in Effects > Text Formations NOTE: Please see here for the Optional Based Library download required to run the Circular Text Plugin: IMPORTANT: The newer version of this Plugin requires that Optional Based Libraries be in the Effects Folder - not the app folder (Program Files\Paint.net) The UI: Standard tab Options tab Download
  10. For the same purpose I use Selection> Fixed Size (Width, Height), then Effect> Selection> Outline Selection. Sorry I did not read the post until the end...
  11. I try to use OptionBasedLibrary but i can't figure out how to get the parameter Bold or Italic or both. enum OptionNames { myFontStyle, ... } enum FontStyleEnum { Bold, Italic } protected override OptionControlList OnSetupOptions(OptionContext optContext) { return new OptionControlList { new OptionEnumCheckBoxes<FontStyleEnum>(OptionNames.myFontStyle, optContext) { }, ... protected override void OnSetRenderInfo(OptionBasedEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs) { FontStyle myStyle = OptionEnumCheckBoxes<FontStyleEnum>.GetOptionChecked(OptionNames.myFontStyle, newToken.Items); ... Error: There is no argument given to corresponds to the required formal parameter 'values' of ...
  12. Type: ColorWheel, Style: Default no Reset has some problems in preview mode. Doesn't render text.
  13. Thank you for your hard work @Rick Brewster, @BoltBait and @toe_head2001.
  14. Found in Effects > Text Formations UI: Download
  15. This is my Circle Text plugin test. It can be improved.
  16. Well, the tooltips text is wrong. I will change it. It's about low-opacity pixels which are not visible. Test's purpose is to reveal these pixels. Sometimes, around the object of interest these pixels are present and alignments can become confusing for less experienced users. You can use this check box and Reset position button to see these pixels that lead to an alignment that does not meet user expectations.
  17. If the pixel group is pasted on a new transparent layer, it will be helpful. The plugin only works on objects on a transparent layer. After pasted, be sure to deselect the pixels as @toe_head2001 said.
  18. BB, is your plugin. That's fair play. Undoubtedly, if you wanted to, you would have put the color options. You are much more capable of coding than we are, so we have to respect your choice.
  19. I don't like long UIs either. That's why I avoided using Color Wheel. I will delete my post above because that's fair play.
×
×
  • Create New...