• 0

[C#] Drawing outline text


Question

Recommended Posts

  • 0
I don't know. You could effectively inline the GetStringPath code or change the method name. It's MS's API, not his. How many ways can you use AddString? This is why copyrighting code is stupid.

585288455[/snapback]

I wasn't supporting his demands I was just pointing out that clause 2 explicitly prohibits the case of giving out the source code. I would say that the small snippet used to GetString isn't worthy of even a mention - just read the book, understand the code and type it in yourself!

As for copyrighting code being stupid - I would far rather companies be able to copyright their code than patent it! I don't mind having to understand the problem and then write my own code to avoid the copyright, but not actually being able to produce code because it violates a patent is truly a horrific scenario...in the end you will not be able to code at all without falling foul of a patent. By that measure, copyrights are a delightfully benign measure of protection for companies to profit from their code.

  • 0
I wasn't supporting his demands I was just pointing out that clause 2 explicitly prohibits the case of giving out the source code. I would say that the small snippet used to GetString isn't worthy of even a mention - just read the book, understand the code and type it in yourself!

As for copyrighting code being stupid - I would far rather companies be able to copyright their code than patent it! I don't mind having to understand the problem and then write my own code to avoid the copyright, but not actually being able to produce code because it violates a patent is truly a horrific scenario...in the end you will not be able to code at all without falling foul of a patent. By that measure, copyrights are a delightfully benign measure of protection for companies to profit from their code.

585288849[/snapback]

Sorry if my tone came off as harsh. I know you were just pointing it out.

I agree with you on the patent thing. Copyright is much easier to circumvent. I just can't understand why people would even try to protect an abstract idea, especially using someone else's API. I can understand him trying to protect the rest of the work, but not a code example. To me, it's as absurd as a college professor telling you that you can't use the code he gives you in class without his written permission.

  • 0

Exactly - how can somebody teach you how to do something and then tell you "don't use it" !? :blink: At least he allows me to use it without exposing the source code but it still sounds stupid. As weenur said - one can always change the code a bit and say the it's his code. I think that those books shouldn't copyright code at all.

Thanks weenur, at least I know I can use the code now :D

  • 0
Exactly - how can somebody teach you how to do something and then tell you "don't use it" !? :blink: At least he allows me to use it without exposing the source code but it still sounds stupid. As weenur said - one can always change the code a bit and say the it's his code. I think that those books shouldn't copyright code at all.

Thanks weenur, at least I know I can use the code now  :D

585289213[/snapback]

Well the author has had to write the code, and if there were no copyright then a lazy author could just copy these examples verbartim and profit from someone elses work. I am pretty sure that it's not the authors intent to stop people from using the code in their own projects, especially tiny snippets such as the one you are interested in - he's just stopping the resale of his examples by a third party.

But copyright isn't a problem, if you know how to write the piece of code you write it - so long as you don't simply copy it you are free from copyright. I would just say that if you just want to copy the code then as the author for his permission as requested, if only as a common courtesy.

  • 0
But copyright isn't a problem, if you know how to write the piece of code you write it - so long as you don't simply copy it you are free from copyright. I would just say that if you just want to copy the code then as the author for his permission as requested, if only as a common courtesy.

585289350[/snapback]

I'd ask anyway. Chris is a very nice person.

  • 0

That's OK weenur 0 you don't need to ask, you did enough for me :laugh: Using the code is enough but I think that the copyright should be written this way:

2. No substantial portion of this source code may be used in order to create another educational resource (such as a book)? >without the express written permission of the copyright holders, where "substantial" is defined as enough code to be recognizably from this code.

The only worry of the author should be that no one else would copy his work in order to create another book, for example. Using some of the information to create another one is OK but copying all of it's content or most of it exactly as it appears in the book should be illegal.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Mp3tag 3.35 by Razvan Serea Mp3tag is a powerful and yet easy-to-use tool to edit metadata (ID3, Vorbis Comments and APE) of common audio formats. It can rename files based on the tag information, replace characters or words from tags and filenames, import/export tag information, create playlists and more. The program supports online freedb database lookups for selected files, allowing you to automatically gather proper tag information for select files or CDs. Mp3tag supports the following audio formats: Advanced Audio Coding (aac) Free Lossless Audio Codec (flac) Monkeys Audio (ape) Mpeg Layer 3 (mp3) MPEG-4 (mp4 / m4a / m4b / iTunes compatible) Musepack (mpc) Ogg Vorbis (ogg) OptimFROG (ofr) OptimFROG DualStream (ofs) Speex (spx) Toms Audio Kompressor (tak) True Audio (tta) Windows Media Audio (wma) WavPack (wv) Mp3tag 3.35 changelog: This version introduces a new Files options page, enhanced toolbar customization, support for RF64 WAV files, improved Discogs and MusicBrainz tag sources, and many other improvements and fixes. See the Release Notes for more details. Download: Mp3tag 64-bit | 5.7 MB (Freeware) Download: Mp3tag 32-bit | 5.2 MB Link: Mp3tag Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • The FIFA World Cup is not US centric.
    • It’s amusing how Microsoft is pushing IT admins as if this was a major, game-changing update. In reality, it’s just an enablement package that bumps the build number, which is disappointing compared to the more substantial 22H2 and 24H2 releases. Technically, 25H2, 26H1, and the upcoming 26H2 are essentially the same, differing only in support schedules. They could have included the Windows K2 improvements here, but chose not to. The era of Windows being in the backburner continues, and this 26H2 release feels like an afterthought. Shame, Nadella, shame.
    • Microsoft, totally not confusing /s 25H2 - Current for non-Arm based Windows 26H1 - Current for Arm based Windows 26H2 - Only for non Arm Windows
    • After I installed those, my older but capable Win 11 laptop (16GB RAM) reported it as 26H2 26300.8697. Then I installed it on my big laptop (128GB RAM! Hehe sorry), it reported it as 25H2 26220.8690. Ugh. Do I have to switch Insiders channels from Release to Beta?
  • Recent Achievements

    • Week One Done
      AMV earned a badge
      Week One Done
    • One Month Later
      AMV earned a badge
      One Month Later
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      +Edouard
      174
    3. 3
      PsYcHoKiLLa
      78
    4. 4
      Steven P.
      72
    5. 5
      Michael Scrip
      71
  • Tell a friend

    Love Neowin? Tell a friend!