midora Posted June 2, 2013 Share Posted June 2, 2013 (edited) The developers know that the content of the destination surface is declared as undefined. Main reason: It's a waste of time if Paint.NET would prepare the surface and the effect plugin does its own filling. Some additional EffectFlags may be used to inform Paint.NET how the surface could be prepared: EffectFlags.FillDestinationWithSource: The plugin can expect that the destination contains the content of the source EffectFlags.FillDestinationWithTransparentWhite: The destination is filled with transparent white EffectFlags.FillDestinationWithPrimary: The destination is filled with the primary color EffectFlags.FillDestinationWithSecondary: -"- secondary color If none of the flags is set then we are in the undefined content mode (like now). This may speed up the effect because Paint.NET could select the optimal method to do the basic fill operation. Edited June 2, 2013 by midora Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.