共用方式為


IDirectDrawClipper 介面 (ddraw.h)

應用程式會使用 IDirectDrawClipper 介面的方法來管理剪輯清單。 本節是這個介面方法的參考。

繼承

IDirectDrawClipper 介面繼承自 IUnknown 介面。 IDirectDrawClipper 也有下列類型的成員:

方法

IDirectDrawClipper 介面具有這些方法。

 
IDirectDrawClipper::GetClipList

擷取與 DirectDrawClipper 物件相關聯的剪輯清單複本。 若要選取剪輯清單的子集,您可以傳遞裁剪剪輯清單的矩形。
IDirectDrawClipper::GetHWnd

擷取先前由IDirectDrawClipper::SetHWnd方法與此 DirectDrawClipper 物件相關聯的視窗句柄。
IDirectDrawClipper::Initialize

初始化使用 CoCreateInstance COM 函式所建立的 DirectDrawClipper 物件。
IDirectDrawClipper::IsClipListChanged

如果視窗控點與 DirectDrawClipper 對象相關聯,則會擷取剪輯清單的狀態。
IDirectDrawClipper::SetClipList

會設定或刪除 IDirectDrawSurface7::Blt、IDirectDrawSurface7::BltBatch 和 IDirectDrawSurface7::UpdateOverlay 方法所附加之介面上的剪輯清單。
IDirectDrawClipper::SetHWnd

設定 Clipper 物件用來取得裁剪資訊的視窗句柄。

備註

IDirectDrawClipper 介面的方法可以組織成下列群組:

分組 方法
配置記憶體 初始 化
剪輯清單 GetClipListIsClipListChangedSetClipListSetHWnd
處理 GetHWnd
 

您可以使用 LPDIRECTDRAWCLIPPER 數據類型來宣告包含 IDirectDrawClipper 介面指標的變數。 Ddraw.h 頭檔會使用下列程式代碼宣告此資料類型:


typedef struct IDirectDrawClipper    FAR *LPDIRECTDRAWCLIPPER;

規格需求

需求
目標平台 Windows
標頭 ddraw.h