Contents
Navigation
Home User Reference Other Resources

The QTPlgGraphicsMode class provides a convenient container to communicate with other plugin entities those parameters used by QuickTime APIs when performing drawing operations.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgGraphicsMode class constructors are called when you create a new instance of the class, while the ˜QTPlgGraphicsMode class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgGraphicsMode object is always valid.

The class implements the following initializer methods:
()
This is the default constructor. The class properties are initialized in the following ways:
  • is set to
  • is set to black
(other as QTPlgGraphicsMode)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties
(mode as integer, col as color)
use this constructor version to define both the and the class properties

specifies the graphics mode to associate with the current drawing operation; you can use one of the defined by the plugin
specifies the color for use in blending and transparent operations

()
use this method to restore the default values of the class properties; the property is set to 0 and the property is set to black
returns nothing. Check the class property for errors