home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / stubfe / stubrgn.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.2 KB  |  124 lines

  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /*   stubrgn.c --- stub functions dealing with front-end */
  20.  
  21. #include "fe_rgn.h"
  22.  
  23. FE_Region
  24. FE_CreateRegion()
  25. {
  26. }
  27.  
  28. FE_Region
  29. FE_CreateRectRegion(XP_Rect *rect)
  30. {
  31. }
  32.  
  33. void
  34. FE_DestroyRegion(FE_Region region)
  35. {
  36. }
  37.  
  38. FE_Region
  39. FE_CopyRegion(FE_Region src,
  40.           FE_Region dst)
  41. {
  42. }
  43.  
  44. FE_Region 
  45. FE_SetRectRegion(FE_Region region, 
  46.          XP_Rect *rect)
  47. {
  48. }
  49.  
  50. void 
  51. FE_IntersectRegion(FE_Region src1, 
  52.            FE_Region src2, 
  53.            FE_Region dst)
  54. {
  55. }
  56.  
  57. void 
  58. FE_UnionRegion(FE_Region src1, 
  59.            FE_Region src2, 
  60.            FE_Region dst)
  61. {
  62. }
  63.  
  64. void 
  65. FE_SubtractRegion(FE_Region src1, 
  66.           FE_Region src2, 
  67.           FE_Region dst)
  68. {
  69. }
  70.  
  71. XP_Bool 
  72. FE_IsEmptyRegion(FE_Region region)
  73. {
  74. }
  75.  
  76. void 
  77. FE_GetRegionBoundingBox(FE_Region region, 
  78.             XP_Rect *bbox)
  79. {
  80. }
  81.  
  82. XP_Bool 
  83. FE_IsEqualRegion(FE_Region rgn1, 
  84.          FE_Region rgn2)
  85. {
  86. }
  87.  
  88. void 
  89. FE_OffsetRegion(FE_Region region, 
  90.         int32 xOffset, 
  91.         int32 yOffset)
  92. {
  93. }
  94.  
  95. XP_Bool 
  96. FE_RectInRegion(FE_Region region, 
  97.         XP_Rect *rect)
  98. {
  99. }
  100.  
  101. /* For each rectangle that makes up this region, call the func */
  102. void 
  103. FE_ForEachRectInRegion(FE_Region region, 
  104.                FE_RectInRegionFunc func,
  105.                void * closure)
  106. {
  107. }
  108.  
  109. #ifdef DEBUG
  110. void 
  111. FE_HighlightRect(void *context, 
  112.          XP_Rect *rect, 
  113.          int how_much)
  114. {
  115. }
  116.  
  117. void 
  118. FE_HighlightRegion(void *context, 
  119.            FE_Region region, 
  120.            int how_much)
  121. {
  122. }
  123. #endif /* DEBUG */
  124.