// OleDoc.odl : type library source for OleDoc.exe
// This file will be processed by the MIDL compiler to produce the
// type library (OleDoc.tlb).
library MxPaint
{
importlib("mxpaint.tlb");
<begin>
class ABImage //////
{
[properties:
[id(1)]
BSTR Title;
[id(2)]
OLE_COLOR* ForeColor;
[id(3)]
OLE_COLOR* BackColor;
]
[methods:
[id(1)]
BSTR GetTitle()
[id(2)]
void SetTitle(LPCTSTR lpszNewValue)
[id(3)]
BSTR WindowTestMethod();
[id(4)]
long Border(long Width);
[id(5)]
long Contract(long Pixels);
[id(6)]
long Expand(long Pixels);
[id(7)]
long Feather(long Radius);
[id(8)]
short SelectAll();
[id(9)]
long SelectNothing();
[id(10)]
long SelectRectangle (long Left, long Top, long Right, long Bottom)
[id(11)]
long Smooth(long Radius);
[id(12)]
long DeleteLayer();
[id(13)]
long Group();
[id(14)]
long FlattenImage() ;
[id(15)]
long Rotate(long Angle);
[id(16)]
long AddNoise(short Amount, short Distribution, short Monohromatic)
[id(17)]
long MotionBlur(short Angle, short Distance);
[id(18)]
long AddNoise(short Amount, short Distribution, short Monohromatic);
[id(19)]
long Fill(OLE_COLOR Color, short Opacity, short Operatin);
[id(20)]
long Text(LPCTSTR Title, short xpos, short ypos, short Align, LPCTSTR FaceName, short Size, BOOL Bold, BOOL Italic);
[id(21)]
long Emboss(short Azimuth, short Elevation, short Depth, BOOL Emboss);
[id(22)]
long GaussianBlur(short Radius);
[id(23)]
long SelectPolygon(long Count, VARIANT FAR* XArray, VARIANT FAR* YArray);
[id(24)]
long SetSelOp(short OP);
[id(25)]
long SelectOval(long Left, long Top, long XWidth, long YWidth);
[id(26)]
long Mosaic(short TileSize, short TileHieght, short TileSpacing, short TileNeatnes, short LightDirection, short Variation, short Options, short Primitives);
[id(27)]
long AddLayer(LPCTSTR Title, short Opacity, short Mode);
[id(28)]
long FillGradient(short blendmode, short gradienttype, short operationindex, short opacity, short sx, short sy, short ex, short ey, short gradientindex);