/usr/include/opencascade/Aspect_GraphicCallbackProc.hxx is in libopencascade-visualization-dev 6.5.0.dfsg-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | /*============================================================================*/
/*==== Titre: Aspect_GraphicCallbackProc.hxx */
/*==== Role : The header file of primitive type "GraphicCallbackProc" from package */
/*==== "V3d" */
/*==== Implementation: This is a primitive type implemented with typedef */
/*============================================================================*/
#ifndef _Aspect_GraphicCallbackProc_HeaderFile
#define _Aspect_GraphicCallbackProc_HeaderFile
#include <Aspect_Display.hxx>
#include <Aspect_Drawable.hxx>
#include <Aspect_RenderingContext.hxx>
#define OCC_REDRAW_WINDOW 1
#define OCC_REDRAW_WINDOWAREA 2
#define OCC_REDRAW_BITMAP 3
/*
This flag, when bitwise OR`ed with the "reason" value,
informs the callback that it is called before redrawing the overlayer .
Otherwise, the callback is invoked after the overlayer is redrawn.
*/
#define OCC_PRE_OVERLAY 0x8000
typedef struct {
int reason;
int wsID;
int viewID;
Aspect_Display display;
Aspect_Drawable window;
Aspect_RenderingContext gcontext;
} Aspect_GraphicCallbackStruct;
typedef int (*Aspect_GraphicCallbackProc)(
Aspect_Drawable /* Window ID */,
void* /* user data */,
Aspect_GraphicCallbackStruct* /* call data */
);
#if defined(__cplusplus) || defined(c_plusplus)
/*==== Definition de Type ====================================================*/
#include <Standard_Macro.hxx>
class Handle(Standard_Type);
const Handle(Standard_Type)& STANDARD_TYPE(Aspect_GraphicCallbackProc);
/*============================================================================*/
#endif
#endif /* _Aspect_GraphicCallbackProc_HeaderFile */
|