Jump to content

Rick Brewster

Administrator
  • Posts

    20,659
  • Joined

  • Last visited

  • Days Won

    378

Everything posted by Rick Brewster

  1. Your code is not allowed to know what underlying Stream is being used. Imagine your code expects a FileStream and casts to that, and accesses those properties. Then imagine I change my implementation to send you a MemoryStream or some other type of serialization stream because I'm embedding your data into something else. Your plugin would crash. Not a smart thing to do. The reason you're given a Stream is because you're supposed to write data to it, nothing else. Like Simon said, just register different extensions instead of using 1 uber FileType implementation.
  2. Uhhhh ... who asked you? This has already been discussed before. Go search for it instead of being condescending. Thread Closed
  3. Simon is correct. The two methods you listed above are intended for "internal" use only.
  4. Umm ... why don't you just install the latest version of Paint.NET :? :?:
  5. Please, no more threads asking this same question over and over and over again. Search engine ... use it. Thread Closed
  6. That's not a bug*. The "X" is a bitmap, and not written to follow theme colors. * well, depends on how you define a bug anyway
  7. Paint.NET always shows a GUI when installing with /auto. That's by design, and it's no surprise you're running into problems when trying to run it in a session that prohibits UI. Maybe you want to use MSI-based deployment instead. There are instructions for that in the online help as well.
  8. Maybe if you gave me a description of what you were doing that resulted in this crash, then that would help. The crash log by itself is a smoking gun, but unfortunately not a complete story, and alas I am not psychic*. * yet...
  9. I am unable to reproduce this. (Win7 x64, PDN 3.5.2)
  10. It's in the toolbar ... just change Pixels to Inches.
  11. If you have code which doesn't have access to the property (outside of your Effect class), then just pass it a delegate which it can poll. void OnSetRenderInfo(...) { ... for (y = ...) { if (IsCancelRequested) return; HelperClass.ComputeSomethingExpensiveOmg(y, ..., () => IsCancelRequested); } } ... class HelperClass { bool ComputeSomethingExpensiveOmg(int y, ..., Func cancelPollFn) { ... if (cancelPollFn()) return false; ... return true; } } This is what Auto-Levels does, for instance.
  12. Paint.NET only requires SP2. However, SP3 is recommended and yes I agree that "fully up-to-date" can't be claimed unless you're on SP3... And, SP2 will not be supported for much longer.
  13. The only part of installation that requires an Internet connection is for .NET Framework. Make sure you have 3.5 SP1.
  14. Paint.NET will work with a tablet, but it does not respond to pressure sensitivity.
  15. Being rude to the author (me) is hardly the way to win any support for what you think should be THE NUMBER ONE PRIORITY FEATURES KTHX. If you don't like Paint.NET then by all means uninstall it. I haven't poured 6 years into it just so I could listen to self-entitled junk like this. Thread Closed
  16. They gave you a pretty easy solution. There's no need to be rude and call it "pathetic."
  17. Or it could be as simple as a grouchy network card that's corrupting downloads. True story -- baffled a friend of mine for a straight week once.
  18. You should turn on Microsoft Update. That way, Visual Studio will be automatically kept up-to-date and you won't have to worry about any of this.
  19. This post is over 3 years old. Necroposting is silly. You need to read the rules. Thread Closed
  20. So when do we get a version that responds to IsCancelRequested?
  21. No necroposting. Please read the rules, diegueno. Thread Closed
×
×
  • Create New...