home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / Komercni / ability / ap / paintpro.z / MXPAINT.BI < prev    next >
Encoding:
Text File  |  2001-11-06  |  2.1 KB  |  82 lines

  1. // OleDoc.odl : type library source for OleDoc.exe
  2.  
  3. // This file will be processed by the MIDL compiler to produce the
  4. // type library (OleDoc.tlb).
  5.  
  6. library MxPaint
  7. {
  8. importlib("mxpaint.tlb");
  9.  
  10. <begin>
  11.  
  12. class ABImage //////
  13. {
  14. [properties:
  15.     [id(1)]
  16.     BSTR Title;
  17.     [id(2)] 
  18.     OLE_COLOR* ForeColor;
  19.     [id(3)] 
  20.     OLE_COLOR* BackColor;
  21. ]        
  22. [methods:
  23.     [id(1)]
  24.     BSTR GetTitle() 
  25.     [id(2)]
  26.     void SetTitle(LPCTSTR lpszNewValue) 
  27.     [id(3)]
  28.      BSTR WindowTestMethod();
  29.     [id(4)]
  30.      long Border(long Width);
  31.       [id(5)]
  32.     long Contract(long Pixels); 
  33.       [id(6)]
  34.     long Expand(long Pixels); 
  35.       [id(7)]
  36.     long Feather(long Radius); 
  37.       [id(8)]
  38.     short SelectAll(); 
  39.       [id(9)]
  40.     long SelectNothing(); 
  41.       [id(10)]
  42.     long SelectRectangle (long Left, long Top, long Right, long Bottom) 
  43.       [id(11)]
  44.     long Smooth(long Radius); 
  45.       [id(12)]
  46.     long DeleteLayer(); 
  47.       [id(13)]
  48.     long Group(); 
  49.       [id(14)]
  50.     long FlattenImage() ; 
  51.       [id(15)]
  52.     long Rotate(long Angle); 
  53.       [id(16)]
  54.     long AddNoise(short Amount, short Distribution, short Monohromatic) 
  55.       [id(17)]
  56.     long MotionBlur(short Angle, short Distance); 
  57.       [id(18)]
  58.     long AddNoise(short Amount, short Distribution, short Monohromatic); 
  59.       [id(19)]
  60.     long Fill(OLE_COLOR Color, short Opacity, short Operatin); 
  61.       [id(20)]
  62.     long Text(LPCTSTR Title, short xpos, short ypos, short Align, LPCTSTR FaceName, short Size, BOOL Bold, BOOL Italic); 
  63.       [id(21)]
  64.     long Emboss(short Azimuth, short Elevation, short Depth, BOOL Emboss); 
  65.       [id(22)]
  66.     long GaussianBlur(short Radius); 
  67.       [id(23)]
  68.     long SelectPolygon(long Count, VARIANT FAR* XArray, VARIANT FAR* YArray); 
  69.      [id(24)]
  70.     long SetSelOp(short OP); 
  71.      [id(25)]
  72.     long SelectOval(long Left, long Top, long XWidth, long YWidth); 
  73.      [id(26)]
  74.     long Mosaic(short TileSize, short TileHieght, short TileSpacing, short TileNeatnes, short LightDirection, short Variation, short Options, short Primitives); 
  75.      [id(27)]
  76.     long AddLayer(LPCTSTR Title, short Opacity, short Mode); 
  77.      [id(28)]
  78.     long FillGradient(short blendmode, short gradienttype, short operationindex, short opacity, short sx, short sy, short ex, short ey, short gradientindex); 
  79. ]
  80. };        
  81.  
  82.