home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A blue glass filter. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Darkness': 3,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (0,0,0),
- 'Material': App.Constants.LensFrameMaterial.Gold,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 6
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (128,128,128),
- 'LightDirection': (0.772561,0.634941,0),
- 'HighlightSize': 23
- }],
- 'MaxAmbience': 61,
- 'MinAmbience': 61
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 19,
- 'Magnification': 0,
- 'LensMaterial': {
- 'Color': (9,11,239),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 78,
- 'Refraction': 0,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 19
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-