ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Graphical Composition in Avalon
Subject:   macos x already works like this
Date:   2004-03-10 13:20:16
From:   zootbobbalu
Response to: macos x already works like this

“The same place as the logic in waiting about 15 years between the release of the first Mac, and the availability of Quartz, surely!”


Nobody waited 15 years for Quartz. So this argument is fatedly flawed. You, on the other hand, stated that Quartz wasn’t up to snuff for your work. Your decision to forgo working with an excellent compositing engine for six years is still baffling in my honest opinion. You can’t argue with the fact that most of the functionality presented in your article is already facilitated by Quartz. You yourself say that OS X is pleasing to the eyes, so it should be fare to assume that the quality of the output generated by Quartz is not an issue. This is why people feel you could have mentioned Quartz as an example of how composition can be done well. You don’t have to attack this recommendation. You stance is way too negative toward Quartz. Many of the features you herald in your article are many of the same features “hyped” when OS X was first released to the public three years ago. The key difference here is that much of the hype has become a reality on the Mac side and much of the “hype” is still being hammered out on the Windows side.


I’ll regress…


I have to say that your deep understanding of 2D drawing on both platforms is valuable at these forums. All of the experience you have shared is greatly appreciated. Can you clarify a couple of things? You say that Quartz is unable to perform transformations interleaved with compositing operations. Do you mean the following sequence is not possible?


Fill a rectangle with a color that has an alpha component
Perform an affine transform that scales, rotates and translates
Fill an ellipse with a color that has an alpha component
Perform an affine transform that scales, rotates and translates
Draw some text with a color that has an alpha component


Quartz does composite this drawing sequence properly. What am I not getting here?


The other thing that is confusing is related to Vector-level retention. Would the simple vector drawing example above be turned into a stream of low level drawing primitives and stored in memory to be replayed whenever a dirty region needs redrawn? That would be definitely be much more efficient than having each client application redraw global transformations. I wonder if this means that image resources used to create controls and other graphic elements will be now have to include multiple resolutions for this on the fly global transformation model, or are bitmap images going to be a thing of the past. Wait that would require an image with infinite resolution!! OK back to planet earth. Now I’m curious how bitmap image representations will coexist in a vector-level retention graphics engine. Hmmm very interesting.


1 to 2 of 2
  1. macos x already works like this
    2004-04-06 05:50:12  musnat [View]

  2. Ian Griffiths photo macos x already works like this
    2004-03-11 04:58:13  Ian Griffiths | O'Reilly Author [View]

    • macos x already works like this
      2004-03-11 13:40:55  rosyna [View]

      • Ian Griffiths photo macos x already works like this
        2004-03-12 00:28:19  Ian Griffiths | O'Reilly Author [View]

        • macos x already works like this
          2004-03-14 10:23:25  mweiher [View]

          • Ian Griffiths photo macos x already works like this
            2004-03-15 05:51:48  Ian Griffiths | O'Reilly Author [View]

            • macos x already works like this
              2004-04-06 06:17:25  musnat [View]

            • Ian Griffiths photo macos x already works like this
              2004-03-17 04:33:50  Ian Griffiths | O'Reilly Author [View]

            • macos x already works like this
              2004-03-15 13:58:01  mweiher [View]

              • macos x already works like this
                2004-04-06 06:16:16  musnat [View]

              • Ian Griffiths photo macos x already works like this
                2004-03-17 04:29:36  Ian Griffiths | O'Reilly Author [View]

              • Ian Griffiths photo macos x already works like this
                2004-03-16 04:43:14  Ian Griffiths | O'Reilly Author [View]

                • macos x already works like this
                  2004-03-19 17:33:59  mweiher [View]

                  • Ian Griffiths photo macos x already works like this
                    2004-03-21 11:57:47  Ian Griffiths | O'Reilly Author [View]

                    • macos x already works like this
                      2004-03-22 12:32:11  mweiher [View]

                • macos x already works like this
                  2004-03-18 16:28:15  mweiher [View]

                  • Ian Griffiths photo macos x already works like this
                    2004-03-21 14:39:30  Ian Griffiths | O'Reilly Author [View]

                    • macos x already works like this
                      2004-05-23 22:06:41  glenlow [View]

                    • macos x already works like this
                      2004-03-22 15:32:48  mweiher [View]

                  • macos x already works like this
                    2004-03-19 20:59:37  rosyna [View]

                    • Ian Griffiths photo macos x already works like this
                      2004-03-21 12:50:03  Ian Griffiths | O'Reilly Author [View]

                      • macos x already works like this
                        2004-03-22 12:20:26  rosyna [View]

1 to 2 of 2