//----------------------------------------------------------------
//           Bitmap rotation component for Delphi 4
//                  (3 and less not tested)
//
//  Author:    Pavel Petsevich
//  E-Mail:    pasha@junik.lv
//  Created:   November, 1999
//
//  NOT IMPORTANT NOTE    :))
//  This source is FREE!
//  If you found useful this component i just want to offer you
//                             -------
//  to GET SOME MONEY - about | $500  |, when you find customer
//                             -------
//  and install new version of my WindowSystem...
//
//  WindowSystem is a local/network system for automation of trading
//  and producing plastic and wooden windows and doors:
//
//  Common features of WindowSystem:
//  --------------------------------
//     - Very simple windowed interface
//     - All drawings drawing and printing with scaled REAL parts of unit
//     - Ability to work with multiple profile systems (plastic)
//     - Work flow: Proposal -> Order -> Payments register
//                  -> Technical printouts
//     - Complete salary calculation for every unit, order, etc.
//     - Complete materials calculation for every unit, order, etc.
//     - Price of every production unit (window, door) calculating
//       from EXACT materials cost + salary + formula (you can tune up)
//       You can have a special formula for every customer category
//     - Print balance of every order or customer
//     - Print order for glasses (can compile some window orders)
//     - Print order for furniture (can compile some window orders)
//     - Reports: customers, orders, materials, salary
//     - Profiles cutting optimization (single and double cutting)
//     - Complex construction order (+additional profiles and materials)
//       with simple graphical interface and scaled printout
//     - SQL Server data storage
//     - Multiuser ability (with customized accessibility)
//     - Orders transfer between WindowsSystem's through INTERNET
//     and more useful functions...
//
//  Available versions (november 1999):
//       WinSys 4.2p  - plastic windows and doors (local and network)
//       WinSys 5.0w  - wooden windows (local and network)
//
//  Contacts by email:
//       pasha@junik.lv
//
//----------------------------------------------------------------
//
//  TROTIMAGE: = TImage +
//  90 and 180 degrees rotation and flip ability
//
//----------------------------------------------------------------
//
//  LIMITATIONS:
//     - only works with Picture.Bitmap property
//     - only works with standard bitmap depth 8bit and more
//
//----------------------------------------------------------------
//
//  USAGE:
//
//  Rotate(RotationType: TRotationType)
//
//  TRotationType = (ra90, ra180, ra90rev, raFlipVert, raFlipHorz)
//
//----------------------------------------------------------------
//
//                            IMPORTANT NOTE:
//
//  This software is provided 'as-is', without any express or
//  implied warranty. In no event will the author be held
//  liable for any damages arising from the use of this
//  software.
//  Permission is granted to anyone to use this software for
//  any purpose, excluding commercial applications (permission will be 
//  granted for FREE after email request), and to alter it and 
//  redistribute it freely, subject to the following restrictions:
//  1. The origin of this software must not be misrepresented,
//      you must not claim that you wrote the original software.
//      If you use this software in a product, an acknowledgment
//      in the product documentation would be appreciated but is
//      not required.
//  2. Altered source versions must be plainly marked as such,
//      and must not be misrepresented as being the original
//      software.
//  3. Any notice may not be removed or altered from any
//      source distribution.
//
//----------------------------------------------------------------
