Differences between Corel PHOTO-PAINT 8 and 9 script commands

Legend:

Parameter - Added parameter
Parameter - Removed parameter

Changed Commands:

  • Sub ContinueDraw(ptX AS Long, ptY AS Long, Timer AS Long, Pressure AS Long, Tilt AS Long, Rotate AS Long)
  • Sub EditCheckpPoint()
  • Sub EditPasteFromFile(FileName AS String, Left AS Long, Top AS Long, Right AS Long, Bottom AS Long, LoadType AS Long, ptX AS Long, ptY AS Long)
  • Sub EditPasteObject(ptX AS Long, ptY AS Long, FileName AS String)
  • Sub EditPasteSelection(ptX AS Long, ptY AS Long, FileName AS String)
  • Sub EditRestoreCheckpPoint()
  • Sub EffectAddNoise(Level AS Long, Density AS Long, ColorNoise AS Boolean, NoiseType AS Long, ColorMode AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectImpressionistEffectScatter(Horizontal AS Long, Vertical AS Long)
  • Sub EffectImpressionist(Style AS Long, Detail AS Long, Coloration AS Long, Brightness AS Long)
  • Sub EffectRadialBlur(Mode AS Long, Radius AS Long, CenterX AS Long, CenterY AS Long)
  • Sub EffectSharpen(EdgeLevel AS Long, Background AS Long, Threshold AS Long, Intensity AS Boolean)
  • Sub EffectTheBoss(Angle AS Long, BevelWidth AS Long, BevelHeight AS Long, Brightness AS Long, Direction AS Long, Dropoff AS Long, Sharpness AS Long, Smooth AS Long, Invert AS Boolean)
  • Sub EffectUserDefined(Divisor AS Long, Offset AS Long, Intensity AS Boolean)
  • Sub FadeLastCommand(Percent AS Long, MergeMode AS Long)
  • Sub GradientPoint(Index AS Long, ptXPtX AS Long, ptYPtY AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long, Transparency AS Long)
  • Sub ImageConvert(Type AS Long, RenderType AS Long, PaletteType AS Long, Threshold AS Integer, HalftoneType AS Long, Angle AS Long, Width AS Long, Colors AS Long, Intensity AS Long, Flatten AS Boolean)
  • Sub ImageConvertDuotone(Style AS Long, UseOverprints AS Boolean, Flatten AS Boolean)
  • Sub ImageConvertPaletted(RenderType AS Long, Colors AS Long, Intensity AS Long, Flatten AS Boolean)
  • Sub ImageDeskewCrop(Angle AS Double, Width AS Long, Height AS Long, PpointXx AS Long, PpointYy AS Long)
  • Sub ImageReplaceColors(TypeIn AS Long, Comp1In AS Long, Comp2In AS Long, Comp3In AS Long, Comp4In AS Long, TypeOut AS Long, Comp1Out AS Long, Comp2Out AS Long, Comp3Out AS Long, Comp4Out AS Long, Range AS Long, IgnoreGraysScale AS Boolean, SingleColor AS Boolean)
  • FunctionSub LensCreateFromMask(Name AS String) AS Long
  • Sub MaskFloaterMoveTo(Left AS Long, Bottom AS Long, Copy AS Boolean, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub MaskMagicWand(ptX AS Long, ptY AS Long, DrawMode AS Long, AntiAlias AS Boolean, MaskVisible AS Boolean, ToleranceMode AS Long, Normal AS Long, Hue AS Long, Saturation AS Long, Brightness AS Long)
  • Sub MaskTranslate(ptX AS Long, ptY AS Long)
  • Sub ObjectAlign(Horizontal AS Long, Vertical AS Long, Center AS Boolean, Grid AS Boolean, Active AS Boolean, Selected AS Boolean, DistributeBounds AS Boolean, HorizontalAlign AS Boolean, VerticalAlign AS Boolean, ObjectSpacing AS Boolean, XSpacing AS Long, YSpacing AS Long)
  • Sub ObjectDropShadow(Mode AS Boolean, Direction AS Long, Distance AS Long, Feather AS Long, Type AS Long, Edges AS Long, Opacity AS Long, Relative AS Boolean, LightAngle AS Long, Fade AS Long, Anchor AS Long, Stretch AS Double, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub ObjectProperties(ObjectID AS Long, Name AS String, Opacity AS Long, MergeMode AS Long, Visible AS Boolean, Clip AS Boolean, Enable AS Boolean, Llink AS Boolean)
  • Sub ObjectToggleLinkClipMask(ObjectID AS Long, Llink AS Boolean)
  • Sub ObjectTranslate(ptX AS Long, ptY AS Long, Copy AS Boolean)
  • Sub PathLoad(PathName AS String, ScaleX AS Double, ScaleY AS Double)
  • Sub PathNode(ptX AS LongDouble, ptY AS LongDouble, Closed AS Boolean, Continuity AS Long, Type AS Long)
  • Function RegisterObject(szObjectID AS String) AS Boolean
  • Sub StartDraw(ptX AS Long, ptY AS Long, Timer AS Long, Pressure AS Long, Tilt AS Long, Rotate AS Long)
  • Sub TextSetting(Bold AS Long, Italic AS Boolean, Underline AS Boolean, Alignment AS Long, FontName AS String, FontSize AS Long, AntiAlias AS Boolean, CharSpacing AS Long, LineSpacing AS Long, DrawMode AS Long, RenderMask AS Boolean, Arg AS String, Value AS String)
  • Sub TextTool(ptX AS Long, ptY AS Long, Text AS String, RenderToMask AS Boolean, AntiAlias AS Boolean, DrawMode AS Long)
  • Function UnRegisterObject(szObjectID AS String) AS Boolean

New Commands:

  • Sub EffectAlchemy(FileName AS String, Layer AS Long, Density AS Long, Rand AS Long, HPosV AS Long, VPosV AS Long, BrushClr AS Boolean, BackClr AS Boolean, ClrModel AS Long, ClrP1 AS Long, ClrP2 AS Long, ClrP3 AS Long, ClrP4 AS Long, ClrMode2 AS Long, ClrP5 AS Long, ClrP6 AS Long, ClrP7 AS Long, ClrP8 AS Long, HueV AS Long, SatV AS Long, BrtV AS Long, BrushSize AS Long, Size1 AS Long, Size2 AS Long, SizeV AS Long, BrushAngle AS Long, Angle1 AS Long, Angle2 AS Long, AngleV AS Long, BrushTrans AS Long, Trans1 AS Long, Trans2 AS Long, TransV AS Long, Dx AS Double, Dy AS Double)
  • Sub EffectBrickWall(Roughness AS Long, BrickWidth AS Long, BrickHeight AS Long, GroutWidth AS Long, Direction AS Long)
  • Sub EffectBubbles(Diameter AS Long, Coverage AS Long, Direction AS Long, Refraction AS Long, Seed AS Long)
  • Sub EffectBumpMap(FileName AS String, Mode AS Long, TileWidth AS Long, TileHeight AS Long, Floor AS Long, Ceiling AS Long, ScaleFactor AS Long, Highlight AS Long, Invert AS Boolean, Smooth AS Boolean, AmbientBrightness AS Long, AmbientColorModel AS Long, AmbientColor1 AS Long, AmbientColor2 AS Long, AmbientColor3 AS Long, AmbientColor4 AS Long, DirectionalBrightness AS Long, DirectionalColorModel AS Long, DirectionalColor1 AS Long, DirectionalColor2 AS Long, DirectionalColor3 AS Long, DirectionalColor4 AS Long, Direction AS Long, Declination AS Long)
  • Sub EffectCharcoal(Size AS Long, Edge AS Long)
  • Sub EffectCobblestone(Roughness AS Long, Size AS Long, GroutWidth AS Long, Direction AS Long, Warp AS Boolean)
  • Sub EffectConteCrayon(ConteColor AS Long, Pressure AS Long, Texture AS Long, Type AS Long, Comp1 AS Long, Comp2 AS Long, Comp3 AS Long, Comp4 AS Long)
  • Sub EffectCraft(Style AS Long, Complete AS Long, Brightness AS Long, Size AS Long, Rotation AS Long)
  • Sub EffectCrayon(Size AS Long, Outline AS Long)
  • Sub EffectCrystalize(Size AS Long)
  • Sub EffectCubist(Size AS Long, Brightness AS Long, Type AS Long, Comp1 AS Long, Comp2 AS Long, Comp3 AS Long, Comp4 AS Long)
  • Sub EffectCylinder(Mode AS Long, Percentage AS Long)
  • Sub EffectDabble(Distribution AS Long, Style AS Long, Size AS Long)
  • Sub EffectElephantSkin(Age AS Long, Variation AS Long, Type AS Long, Comp1 AS Long, Comp2 AS Long, Comp3 AS Long, Comp4 AS Long)
  • Sub EffectEtching(Detail AS Long, Depth AS Long, Direction AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectFabric(Style AS Long, Complete AS Long, Brightness AS Long, Size AS Long, Rotation AS Long)
  • Sub EffectFrame()
  • Sub EffectFrameSettings(Number AS Long, FileName AS String, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long, PosX AS Double, PosY AS Double, Opacity AS Long, Fade AS Long, Horizontal AS Long, Vertical AS Long, Angle AS Long, HFlip AS Long, VFlip AS Long, BlendMode AS Long, UseImage AS Long, UsePath AS Long)
  • Sub EffectKidsplay(Game AS Long, Complete AS Long, Brightness AS Long, Size AS Long, Rotation AS Long)
  • Sub EffectLocalHistogram(Width AS Long, Height AS Long)
  • Sub EffectMosaic(Size AS Long, Vignette AS Long, Type AS Long, Comp1 AS Long, Comp2 AS Long, Comp3 AS Long, Comp4 AS Long)
  • Sub EffectPaletteKnife(BladeSize AS Long, SoftEdge AS Long, Angle AS Long)
  • Sub EffectParticle(Style AS Long, Size AS Long, Density AS Long, Coloration AS Long, Transparency AS Long, Angle AS Long)
  • Sub EffectPastels(Type AS Long, Size AS Long, Hue AS Long)
  • Sub EffectPenInk(Style AS Long, Density AS Long, Inkpool AS Long)
  • Sub EffectPlasterWall(Detail AS Long, Variation AS Long, Brightness AS Long)
  • Sub EffectPlastic(Highlight AS Long, Depth AS Long, Smoothness AS Long, Direction AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectPointillist(Size AS Long, Brightness AS Long)
  • Sub EffectReliefSculpture(Detail AS Long, Depth AS Long, Smoothness AS Long, Direction AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectScraperboard(Style AS Long, Density AS Long, Size AS Long)
  • Sub EffectScreenDoor(Background AS Long, MeshDensity AS Long, Softness AS Long, Brightness AS Long)
  • Sub EffectSketchPad(Type AS Long, Style AS Long, Outline AS Long, Lead AS Long)
  • Sub EffectSphere(Percentage AS Long, CenterX AS Long, CenterY AS Long)
  • Sub EffectStainedGlass(Size AS Long, Thickness AS Long, Lighting AS Boolean, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectStone(Roughness AS Long, Detail AS Long, Invert AS Boolean, Direction AS Long)
  • Sub EffectUnderpainting(Amount AS Long, Brightness AS Long)
  • Sub EffectVignette(Shape AS Long, Offset AS Long, Fade AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectVortex(Style AS Long, Inner AS Long, Outer AS Long, Size AS Long, XCenter AS Long, YCenter AS Long)
  • Sub EffectWatercolor(Size AS Long, Bleed AS Long, Granulation AS Long, WaterAmount AS Long, Brightness AS Long)
  • Sub EffectWaterMarker(Mode AS Long, Coloration AS Long, Size AS Long)
  • Sub EffectWavePaper(Pressure AS Long, ColorMode AS Long)
  • Sub EffectWeather(Forecast AS Long, Strength AS Long, Size AS Long, Variation AS Long, Direction AS Long)
  • Sub EffectZoom(Radius AS Long, CenterX AS Long, CenterY AS Long)
  • Sub EndColorReplace()
  • Sub EndEffectFrame()
  • Sub EndGuideline()
  • Sub EndMaskCreate()
  • Sub EndObject()
  • Sub FileExit(PromptUser AS Boolean)
  • Sub FileImport(FileName AS String, Left AS Long, Top AS Long, Right AS Long, Bottom AS Long, LoadType AS Long, X AS Long, Y AS Long, BoxLeft AS Long, BoxTop AS Long, BoxRight AS Long, BoxBottom AS Long)
  • Function GetDocumentHRes() AS Long
  • Function GetDocumentVRes() AS Long
  • Function GetDocumentXGridFrequency() AS Long
  • Function GetDocumentXRulerUnits() AS Long
  • Function GetDocumentYGridFrequency() AS Long
  • Function GetDocumentYRulerUnits() AS Long
  • Function GetGuidelineCount() AS Long
  • Sub GetGuidelineProperties(Index AS Long, Type AS Long, X AS Long, Y AS Long, Angle AS Long)
  • Function GetPixelColor(X AS Long, Y AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long) AS Boolean
  • Sub GuidelineAdd(X AS Long, Y AS Long, Angle AS Long, Horizontal AS Boolean)
  • Sub GuidelineDelete()
  • Sub GuidelineMove(X AS Long, Y AS Long)
  • Sub GuidelineSelect(GuideID AS Long, Selected AS Boolean)
  • Sub ImageApplyICCProfile(FileName AS String)
  • Sub ImageColorHue(Red AS Long, Green AS Long, Blue AS Long, Shadows AS Boolean, Midtones AS Boolean, Highlights AS Boolean, Luminance AS Boolean)
  • Sub ImageConvertVideoPAL()
  • Sub ImageSprayerList(List AS String)
  • Sub MaskFloaterTranslate(Left AS Long, Bottom AS Long, Copy AS Boolean)
  • Sub ObjectDropShadowCombine()
  • Sub ObjectDropShadowDelete()
  • Sub ObjectDropShadowSplit()
  • Sub ObjectSelection()
  • Sub PathDuplicate()
  • Sub PathSetClippingPath(PathID AS Long)
  • Sub PathVisible(Visible AS Boolean)
  • Sub SelectionPlugin(GroupName AS String, EffectName AS String, MemoryType AS Long, MemorySize AS Long, Parameters AS String)
  • Sub TextAppend(Text AS String)
  • Sub TextEdit(ObjectID AS Long)
  • Sub TextFitToPath(Position AS Long)
  • Sub TextRender()

Removed Commands:

  • Sub ContinueBezier(ptX AS Long, ptY AS Long, Closed AS Boolean, Continuity AS Long, Type AS Long)
  • Sub EndBezier()
  • Sub FileAcquireWithFile(FileName AS String, Left AS Long, Top AS Long, Right AS Long, Bottom AS Long, LoadType AS Long)
  • Sub MaskSettings(ToolID AS Long, DrawMode AS Long, Feather AS Long, AntiAlias AS Boolean)
  • Sub ObjectColorTransparencyPoint(Index AS Long, ptX AS Long, ptY AS Long)
  • Sub PenSettings(ToolID AS Long, Width AS Long, Flatten AS Long, Rotate AS Long, NibShape AS Long, Transparency AS Long, MergeMode AS Long, SoftEdge AS Long)
  • Sub ShapeSettings(Roundness AS Long, Joints AS Long, Width AS Long, Fill AS Boolean, AntiAlias AS Boolean, RenderObject AS Boolean)
  • Sub StartBezier(Points AS Long, RenderObject AS Boolean)

[ CorelSCRIPT commands | Learning CorelSCRIPT | DTP & Graphics | Oberon Home Page ]

Copyright 2000 by Alex Vakulenko. All rights reserved.
This page was last revised on 01/13/00.