xod
-
Posts
632 -
Joined
-
Last visited
-
Days Won
20
Posts posted by xod
-
-
Question about Dynamic values for IndirectUI sliders.
After running the MoveLines plugin below on a standard 800x600 canvas and then choosing a New size canvas 2400x1800 (in the same working session), the selSize is not updated and retains the old size 800x600.
Please, tell me what is wrong with my code?https://www.mediafire.com/file/3osg1n58q319efd/MoveLinesEffect.zip/file
-
19 hours ago, BoltBait said:
Sorry about that.
Yes, you need the two OptionBasedLibrary.dll and OptionBasedLibrary.dlc files to be copied to the Paint.Net folder and not to the Effects folder.
I uploaded these two files together with TextDistortion on Mediafire.
-
When you check 'Grid' and change the font the plug-in crashes.
This issue was resolved in the new version 1.0.7.0.- 1
-
- Popular Post
- Popular Post
'Text Distortion' plugin can be found in Effects > Text Formations.
https://www.mediafire.com/file/ve421lfuaqol1mx/TextDistortion.zip/file
Moderator note: The contents of the Zip all go into the Effects Folder (Classic version).
For the Store bought version, please see instructions half-way down here: https://www.getpaint.net/doc/latest/InstallPlugins.html
- 8
- 3
-
You can do this:
1. Select Magic Wand tool
2. Press and hold Shift key
3. Click on the surface that contains the object
4. Ctrl + I (Invert selection)
5. Cut or Copy
Now you have the object in the clipboard. -
I don't know why my shapes are surrounded by white pixels.
Bitmap wrkbmp = new Bitmap(WorkBMP.Width, WorkBMP.Height); WorkBMP.DrawToBitmap(wrkbmp, WorkBMP.ClientRectangle); //make transparent wrkbmp.MakeTransparent(wrkbmp.GetPixel(0, 0));
-
From Windows>Settings>Devices>Devices and printers you can try to change the default printer and than run the plugin again and see what happens.
-
Maybe is something wrong with your printer driver?
After I updated to Windows v1803 (OS Build 17134.345) the plugin is running OK.
-
Thanks. I used Jitter plugin from Pyrochild's pack.
-
- 3
-
Some crashes occur when run this plugin with different settings on consecutive transparent layers.
File: D:\Program Files\paint.net\Effects\TRsMonolithic.dll
Name: Text3D.EffectPlugin
Version: 1.0.5.26132
Author: ©2015 TechnoRobbo
Copyright: Creates 3D Text
Website: http://www.getpaint.net/redirect/plugins.html
Full error message: System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Drawing2D.GraphicsPath.AddString(String s, FontFamily family, Int32 style, Single emSize, Point origin, StringFormat format)
at Text3D.EffectPluginConfigDialog.CaptureText(String text, Double thickness, Size SizeHW)
at Text3D.EffectPluginConfigDialog.hScrollBar_Scroll(Object sender, ScrollEventArgs e)
at SliderControl.TRSliderCtrl.numericUpDown1_ValueChanged(Object sender, EventArgs e)
at System.Windows.Forms.NumericUpDown.OnValueChanged(EventArgs e)
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at SliderControl.TRSliderCtrl.set_Value(Int32 value)
at Text3D.EffectPluginConfigDialog.InitDialogFromToken(EffectConfigToken effectTokenCopy)
at PaintDotNet.Effects.EffectConfigDialog.InitDialogFromToken() in D:\src\pdn\src\Effects\EffectConfigDialog.cs:line 223
at PaintDotNet.Menus.EffectMenuBase.RunEffectImpl(Type effectType) in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 946Repro:
Open PDN
Effects>Text Formations>TR's Monolithic
Put all sliders to maximum values
OK
Add a new layer
Run the plugin again
PDN crashes. -
I'm trying to make a drawing tool for personal use, but I don't know how to transfer the drawing to the pdn surface.
The project is here:https://www.mediafire.com/file/7chdzz3ban72rrc/PolygonTool.zip/file
Thanks to those who will have the patience to take a look and gives me some advice.
-
2 hours ago, Eli said:
...Some trapezoid distortions would be also nice.:)
Rotate / Zoom can do this. Also some plug-ins, such as Perspective Transformation, Quadrilateral Correction that runs much faster.
- 1
-
Redundant.
-
'Text Distortion' plugin can be found in Effects -> Text Formations submenu.- 4
- 3
-
The 'Rounded Rectangle' plugin has been updated. Now there is the possibility of synchronizing the four sliders without flickering.
- 2
-
In the Orientation tab, uncheck 'Show in image while dialog is open'.
However, this rectangle is not rendered to the canvas when you click on the OK button.- 1
-
MJW, thanks for the answer.
Yes, there is no flickering in the video, everything looks fine. -
Thank you Remake for reply.
Yes, I want all sliders to stay connected.
As in the clip below: -
How can I dimmer two sliders?
I can do that but some flickering appear.
There is another way?Spoilerpublic enum PropertyNames { Slider1, Slider2, Slider3, KeepInSync } protected override PropertyCollection OnCreatePropertyCollection() { List<Property> props = new List<Property>(); props.Add(new Int32Property("Slider1", 0,0,100)); props.Add(new Int32Property("Slider2", 0,0,100)); props.Add(new Int32Property("Slider3", 0,0,100)); props.Add(new BooleanProperty("KeepInSync", false)); List<PropertyCollectionRule> rules = new List<PropertyCollectionRule>(); rules.Add(new LinkValuesBasedOnBooleanRule<int, Int32Property>(new string[] { "Slider1", "Slider2", "Slider3" }, "KeepInSync", false)); rules.Add(new ReadOnlyBoundToBooleanRule("Slider2", "KeepInSync", false)); rules.Add(new ReadOnlyBoundToBooleanRule("Slider3", "KeepInSync", false)); return new PropertyCollection(props, rules); }
-
6 hours ago, AndrewDavid said:
... your labels for gradient horizontal and vertical needs to be switched.
I don't understand what you mean.
A horizontal gradient means that we start with a color on the left and finish on the right with the other color (or vice versa = swap colors).
A vertical gradient means that we start with a color on the top and finish on the bottom with the other color (or vice versa = swap colors).
Same on the reflected case but now we start with the first color in the center of the shape and the second color appears at the edges (or vice versa = swap colors).7 hours ago, Ego Eram Reputo said:I like the link option for Height & Width. Any chance you could do the same for the four Radii?
For pairs 1-2, 3-4 is very simple, but for 3 corners or other combinations, I think the UI is unnecessarily complicated.
4 checkboxes must be created to enable the assigned sliders and a checkbox for their link.
I'm trying to keep the UI as small as possible. -
'Rounded Rectangle' location: Effects -> Render submenu
A very quick example:
https://www.mediafire.com/file/mbnmrwf3ff5at9a/RoundedRectangle.zip/file
- 4
- 2
-
Ok, I understand, thanks.
I don't know why I had the impression that this was not happening in previous versions of CodeLab. -
I don't know if this is intentional behavior or a bug.
Also, for Display setting to 125% if the UI becomes too high and the scroll bar appears, the control is not properly resized and the color rectangle is not entirely visible.
Mini Tutorials/Tips for Plugin Developers
in Plugin Developer's Central
Posted
Yes, you are right, I uploaded the wrong zip file, sorry.
Try again now.