DPtoLP

此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

DPtoLP

VB聲明

Declare Function DPtoLP Lib "gdi32" Alias "DPtoLP" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long

說(shuō)明

將點(diǎn)陣從設(shè)備坐標(biāo)轉(zhuǎn)換到專(zhuān)用設(shè)備場(chǎng)景邏輯坐標(biāo)

返回值

Long,執(zhí)行成功為非零值,失敗則為零

參數(shù)表

參數(shù)

類(lèi)型及說(shuō)明

hdc

Long,確定邏輯坐標(biāo)系統(tǒng)的設(shè)備場(chǎng)景句柄

lpPoint

POINTAPI,包含有設(shè)備坐標(biāo)點(diǎn)的一個(gè)或多個(gè)POINTAPI結(jié)構(gòu)的第一入口。每個(gè)入口都將被轉(zhuǎn)換為邏輯坐標(biāo)(若為世界轉(zhuǎn)換則轉(zhuǎn)換為世界坐標(biāo))

nCount

Long,lpPoint陣列中的入口數(shù)

Top