Home COM GDI+ WebBrowser Data Access

IDXARGBReadWritePtr Interface

 

IID_IDXARGBReadWritePtr

{EAAAC2D7-C290-11d1-905D-00C04FD9189D}

 

 

The IDXARGBReadWritePtr interface enables Microsoft DirectX Transform objects to gain read/write access to samples contained in a DXSurface object.

 

MSDN Documentation: IDXARGBReaWritedPtr Interface
 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDXARGBReadWritePtr Members

Description

PackAndMove

Places a buffer of ARGB32 samples into the output surface and moves the sample pointer.

PackPremultAndMove

Places a buffer of ARGB32 samples into the output surfaces and moves the sample pointer.

PackRect

Accepts a buffer of either PMARGB32 or ARGB32 samples and writes them to a subsection of the output surface defined by a DXPACKEDRECTDESC structure.

CopyAndMoveBoth

Copies the specified number of samples from the current position of the source surface to the current position of the output surface.

CopyRect

Copies the specified number of samples from the specified rectangle in the source surface to the current position on the output surface.

FillAndMove

Fills the output surface with the specified sample value, starting at the current position and advancing the current position.

FillRect

Fills a rectangle with the sample value, optionally doing an alpha-blend with the destination.

OverSample

Alpha-blends the sample value over the sample at the specified position.

OverArrayAndMove

Alpha-blends an array of samples over the output surface and moves the pointer a specified number of samples.

   

PackAndMove

 

SUB IDXARGBReadWritePtr_PackAndMove ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pSamples AS DWORD _

, BYVAL cSamples AS DWORD _
  )


  CALL DWORD
@@pthis[3] USING IDXARGBReadWritePtr_PackAndMove (pthis, pSamples, cSamples)
 

END SUB
 

 

PackPremultAndMove

 

SUB IDXARGBReadWritePtr_PackPremultAndMove ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pSamples AS DWORD _

, BYVAL cSamples AS DWORD _
  )


  CALL DWORD
@@pthis[4] USING IDXARGBReadWritePtr_PackPremultAndMove (pthis, pSamples, cSamples)
 

END SUB
 

 

PackRect

 

SUB IDXARGBReadWritePtr_PackRect ( _
  BYVAL
pthis AS DWORD PTR _
, BYREF
pRectDesc AS DXPACKEDRECTDESC _
  )


  CALL DWORD
@@pthis[5] USING IDXARGBReadWritePtr_PackRect (pthis, pRectDesc)
 

END SUB
 

 

CopyAndMoveBoth

 

SUB IDXARGBReadWritePtr_CopyAndMoveBoth ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pScratchBuffer AS DWORD _
, BYVAL
pSrc AS DWORD PTR _
, BYVAL
cSamples AS DWORD _
, BYVAL
bIsOpaque AS LONG _
  )


  CALL DWORD
@@pthis[6] USING IDXARGBReadWritePtr_CopyAndMoveBoth (pthis, pScratchBuffer, pSrc, cSamples, bIsOpaque)
 

END SUB
 

 

CopyRect

 

SUB IDXARGBReadWritePtr_CopyRect ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pScratchBuffer AS DWORD _
, BYREF
pDestRect AS RECT _
, BYVAL
pSrc AS DWORD PTR _
, BYREF
pSrcOrigin AS POINTAPI _
, BYVAL
bIsOpaque AS LONG _
  )


  CALL DWORD
@@pthis[7] USING IDXARGBReadWritePtr_CopyRect (pthis, pScratchBuffer, pDestRect, pSrc, pSrcOrigin, bIsOpaque)
 

END SUB
 

 

FillAndMove

 

SUB IDXARGBReadWritePtr_FillAndMove ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pScratcbBugger AS DWORD _
, BYREF
SampVal AS DXPMSAMPLE _

, BYVAL cSamples AS DWORD _

, BYVAL bDoOver AS LONG _
  )

  CALL DWORD
@@pthis[8] USING IDXARGBReadWritePtr_FillAndMove (pthis, pScratchBuffer, SampVal, cSamples, bDoOver)
 

END FUNCTION
 

 

FillRect

 

SUB IDXARGBReadWritePtr_FillRect ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pRect AS RECT _
, BYREF
SampVal AS DXPMSAMPLE _
, BYVAL
bDoOver AS LONG _
  )


  CALL DWORD
@@pthis[9] USING IDXARGBReadWritePtr_FillRect (pthis, pRect, SampVal, bDoOver)
 

END SUB
 

 

OverSample

 

SUB IDXARGBWriteReadPtr_OverSample ( _
  BYVAL
pthis AS DWORD PTR _
, BYREF
pOverDesc AS DXOVERSAMPLEDESC _
  )


  CALL DWORD
@@pthis[10] USING IDXARGBWriteReadPtr_OverSample (pthis, pOverDesc) TO HRESULT
 

END SUB
 

 

OverArrayAndMove

 

SUB IDXARGBWriteReadPtr_OverArrayAndMove ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pScratchBuffer AS DWORD _
, BYVAL
pSrc AS DWORD _
, BYVAL
cSamples AS DWORD _
  ) AS LONG

  CALL DWORD
@@pthis[11] USING IDXARGBWriteReadPtr_OverArrayAndMove (pthis, pScratchBuffer, pSrc, cSamples) TO HRESULT
 

END SUB
 

 

Page last updated on Monday, 03 April 2006 19:45:40 +0200