home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / IDMIMAGE.INL < prev    next >
Text File  |  1993-10-22  |  3KB  |  86 lines

  1. #ifndef _IDMIMAGE_INL_
  2.   #define _IDMIMAGE_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: idmimage.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in idmimage.hpp.                                        *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #ifndef _IDMIMAGE_
  20.   #undef  _IDMIMAGE_INL_
  21.   #define _IDMIMAGE_INL_ 1
  22.   #include <idmimage.hpp>
  23. #endif
  24.  
  25. #if _IDMIMAGE_INL_
  26.   #define inline
  27. #endif
  28.  
  29. /*------------------------------------------------------------------------------
  30. | Inlines for IDMImage                                                         |
  31. ------------------------------------------------------------------------------*/
  32. inline IPointerHandle IDMImage::pointer ()
  33. {
  34.   return (this->pointerImage);
  35. }
  36.  
  37. inline IBitmapHandle IDMImage::bitmap ()
  38. {
  39.   return (this->bitmapImage);
  40. }
  41.  
  42. inline ISize IDMImage::pointerOffset ()
  43. {
  44.   return (this->ptrOffset);
  45. }
  46.  
  47. inline ISize IDMImage::stretchSize ()
  48. {
  49.   return (this->imageStretchSize);
  50. }
  51.  
  52. inline IDMImage::Style IDMImage::style ()
  53. {
  54.   return (this->imgStyle);
  55. }
  56.  
  57. inline unsigned long IDMImage::numberOfPoints ()
  58. {
  59.   return (this->points);
  60. }
  61.  
  62. inline unsigned long* IDMImage::pointArray()
  63. {
  64.   return (this->pointArr);
  65. }
  66.  
  67. inline IDMImage& IDMImage::setPointerOffset (ISize& pointerOffset)
  68. {
  69.   this->ptrOffset = pointerOffset;
  70.   return (*this);
  71. }
  72.  
  73. inline IDMImage& IDMImage::setStyle (IDMImage::Style style)
  74. {
  75.   this->imgStyle = style;
  76.   return (*this);
  77. }
  78.  
  79. inline IDMImage& IDMImage::setNumberOfPoints (unsigned long pts)
  80. {
  81.   this->points = pts;
  82.   return (*this);
  83. }
  84.  
  85. #endif //IDMIMAGE
  86.