home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3dithmd.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_DITHERMOD_H = 1;
- include("real/code/r3postim.js")
-
-
- var R3CLID_DITHERINGMODEL = 801;
-
-
-
-
-
-
-
- R3DITHMDA_RedBits = 801500;
- function SetR3DITHMDA_RedBits(value) {
- R3Set(this.r3obj, R3DITHMDA_RedBits, value, R3TID_INTEGER, 0);
- }
-
- function GetR3DITHMDA_RedBits() {
- return R3Get(this.r3obj, R3DITHMDA_RedBits, R3TID_INTEGER, 0);
- }
-
- R3DITHMDA_GreenBits = 801501;
- function SetR3DITHMDA_GreenBits(value) {
- R3Set(this.r3obj, R3DITHMDA_GreenBits, value, R3TID_INTEGER, 0);
- }
-
- function GetR3DITHMDA_GreenBits() {
- return R3Get(this.r3obj, R3DITHMDA_GreenBits, R3TID_INTEGER, 0);
- }
-
- R3DITHMDA_BlueBits = 801502;
- function SetR3DITHMDA_BlueBits(value) {
- R3Set(this.r3obj, R3DITHMDA_BlueBits, value, R3TID_INTEGER, 0);
- }
-
- function GetR3DITHMDA_BlueBits() {
- return R3Get(this.r3obj, R3DITHMDA_BlueBits, R3TID_INTEGER, 0);
- }
-
- R3DITHMDA_Channel = 801503;
- function SetR3DITHMDA_Channel(value) {
- R3Set(this.r3obj, R3DITHMDA_Channel, value, R3TID_STRING, 0);
- }
-
- function GetR3DITHMDA_Channel() {
- return R3Get(this.r3obj, R3DITHMDA_Channel, R3TID_STRING, 0);
- }
-
-
-
- function r3Ditheringmodel () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_DITHERINGMODEL, arguments);
- }
- // Methods
-
- // Attributes
- this.GetRedBits=GetR3DITHMDA_RedBits;
- this.SetRedBits=SetR3DITHMDA_RedBits;
- this.GetGreenBits=GetR3DITHMDA_GreenBits;
- this.SetGreenBits=SetR3DITHMDA_GreenBits;
- this.GetBlueBits=GetR3DITHMDA_BlueBits;
- this.SetBlueBits=SetR3DITHMDA_BlueBits;
- this.GetChannel=GetR3DITHMDA_Channel;
- this.SetChannel=SetR3DITHMDA_Channel;
- }
-
- r3Ditheringmodel.prototype=new r3Postimageeffectmodel;
- // r3dithmd.h_H