1 #if (defined(_WIN32) || defined(_WIN64))
37 class PDF3DAnnotInstance FS_FINAL :
public Base{
44 typedef enum _PDF3DController {
46 e_ControllerRotate = 0,
64 typedef enum _PDF3DRenderMode {
66 e_RenderModeSolid = 1,
68 e_RenderModeSolidWireframe = 2,
70 e_RenderModeSolidOutline = 3,
72 e_RenderModeTransparent = 4,
74 e_RenderModeTransparentWireframe = 5,
76 e_RenderModeBoundingBox = 6,
78 e_RenderModeTransparentBoundingBox = 7,
80 e_RenderModeTransparentBoundingBoxOutline = 8,
82 e_RenderModeWireframe = 9,
84 e_RenderModeShadedWireframe = 10,
86 e_RenderModeHiddenWireframe = 11,
88 e_RenderModeIllustration = 12,
90 e_RenderModeShadedIllustration = 13,
92 e_RenderModeVertices = 14,
94 e_RenderModeShadedVertices = 15
99 PDF3DAnnotInstance(){}
106 PDF3DAnnotInstance(
const PDF3DAnnotInstance& other);
109 ~PDF3DAnnotInstance();
118 PDF3DAnnotInstance& operator=(
const PDF3DAnnotInstance& other);
127 bool operator==(
const PDF3DAnnotInstance& other)
const;
136 bool operator!=(
const PDF3DAnnotInstance& other)
const;
145 bool IsEmpty()
const;
152 pdf::annots::Annot GetAnnot();
165 void SetController(PDF3DController tool_tag);
178 void SetRenderMode(PDF3DRenderMode render_mode);
187 FX_HWND ActivateCanvas(FX_HWND screen_canvas_parent);
199 void UpdateCanvas(
RectI rect);
211 void OnLButtonDown(
int flag,
PointF point);
223 void OnLButtonUp(
int flag,
PointF point);
235 void OnMouseMove(
int flag,
PointF point);
248 void OnMouseWheel(
int flag,
int delta,
PointF point);
260 void OnRButtonDown(
int flag,
PointF point);
272 void OnRButtonUp(
int flag,
PointF point);
275 explicit PDF3DAnnotInstance(
FS_HANDLE handle);
278 FSDK_DEFINE_ARRAY(PDF3DAnnotInstanceArray, PDF3DAnnotInstance)
288 class PDF3DContext FS_FINAL :
public Base{
291 explicit PDF3DContext(
const pdf::PDFDoc& doc);
298 PDF3DContext(
const PDF3DContext& other);
310 PDF3DContext& operator=(
const PDF3DContext& other);
319 bool operator==(
const PDF3DContext& other)
const;
328 bool operator!=(
const PDF3DContext& other)
const;
337 bool IsEmpty()
const;
347 PDF3DAnnotInstanceArray GetPage3DAnnotArray(
int page_index);
366 #endif //defined(_WIN32) || defined(_WIN64)