/[winpt]/trunk/PTD/wptJPG.h
ViewVC logotype

Diff of /trunk/PTD/wptJPG.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 164 by werner, Fri Oct 28 12:57:05 2005 UTC revision 165 by twoaday, Tue Jan 24 10:10:15 2006 UTC
# Line 23  Line 23 
23    
24  class CJPG  class CJPG
25  {  {
26    private:
27        LONG m_Height; /* height (in pixels ignore what current device context uses) */
28        LONG m_Weight; /* size of the image object in bytes (file OR resource) */
29        LONG m_Width;  /* width (in pixels ignore what current device context uses) */
30    
31        IPicture* m_IPicture; /* Same As LPPICTURE (typedef IPicture __RPC_FAR *LPPICTURE)*/
32    
33  public:  public:
34      CJPG ();          CJPG ();    
35      virtual ~CJPG ();      virtual ~CJPG ();
# Line 30  public: Line 37  public:
37      void freePictureData ();      void freePictureData ();
38      BOOL load (LPCSTR sFilePathName);      BOOL load (LPCSTR sFilePathName);
39      BOOL loadPictureData (BYTE* pBuffer, int nSize);      BOOL loadPictureData (BYTE* pBuffer, int nSize);
40      BOOL show (HDC pDC, POINT *LeftTop, POINT *WidthHeight,      BOOL show (HDC pDC, POINT *leftTop, POINT *widthHeight,
41                 int MagnifyX, int MagnifyY);                 int magnifyX, int magnifyY);
42      BOOL updateSizeOnDC (HDC pDC);      BOOL updateSizeOnDC (HDC pDC);
43    
44      LONG m_Height; /* height (in pixels ignore what current device context uses) */      LONG getHeight (void);
45      LONG m_Weight; /* size of the image object in bytes (file OR resource) */      LONG getWeight (void);
46      LONG m_Width;  /* width (in pixels ignore what current device context uses) */      LONG getWidth (void);
   
 private:  
     IPicture* m_IPicture; /* Same As LPPICTURE (typedef IPicture __RPC_FAR *LPPICTURE)*/  
47  };  };
48    
49  #endif /*WPT_JPG_H*/  #endif /*WPT_JPG_H*/

Legend:
Removed from v.164  
changed lines
  Added in v.165

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26