Main Page   Compound List   File List   Compound Members   File Members  

vpiwhiteboard.cpp File Reference

#include "vpiwhiteboard.h"
#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <stdlib.h>

Compounds

struct  __CMD_MSG
struct  __STROKE_MSG_HEADER

Defines

#define CMD_MSG_DEL   0x1
#define CMD_MSG_SENDALL   0x2
#define CMD_MSG_CLOSE_WT   0x3
#define CMD_MSG_MOVE   0x4

Typedefs

typedef __STROKE_MSG_HEADER STROKE_MSG_HEADER
typedef __CMD_MSG CMD_MSG

Functions

 __declspec (dllexport) vpiClass *LoadComponent(CVrt32 *pvrt)
BOOL APIENTRY DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)

Detailed Description

Date:
2002/06/14 (created)
Author:
David Yuheng Zhao - www.ministars.com , Lars Winkler Pettersson - www.handwritten.net , Magnus Andersson
This VASE plugin (.dll) renders a whiteboard in the VASE environment

Copyright (c) 2001,2002 Stefan Seipel, Department of Information Technology, Uppsala University

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Define Documentation

#define CMD_MSG_CLOSE_WT   0x3
 

Close the current WTBOARDDOCUMENT

#define CMD_MSG_DEL   0x1
 

Erase strokes within the rectangluar area defined by pen down -> pen up

#define CMD_MSG_MOVE   0x4
 

not implemented

#define CMD_MSG_SENDALL   0x2
 

Sends all stroke from the client to all other clients


Typedef Documentation

typedef struct __CMD_MSG CMD_MSG
 

Defines a command

typedef struct __STROKE_MSG_HEADER STROKE_MSG_HEADER
 

Stroke message header is designed as follows:

nNodeCount - the number of nodes in the pen stroke

The stroke body contains the nodes of the stroke defined as

See also:
WTBOARDDATANODE in wtboard.h


Function Documentation

__declspec dllexport   
 

Function used when using VRT dll (dynamic linked)

BOOL APIENTRY DllMain HANDLE    hModule,
DWORD    ul_reason_for_call,
LPVOID    lpReserved
 

Set texture alpha channel before replacement


Generated on Mon Sep 9 21:01:17 2002 for vpiWhiteboard by doxygen1.2.17