b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

bitblt_bitblt stretchblt_bitblt中源设备的像素(16)

电脑杂谈  发布时间:2017-01-20 00:03:23  来源:网络整理

DDF_SAME_SIZE =DDF_SAME_DRAW;

// display profiling

PD_CAN_DRAW_DIB= $0001;// if you can draw at all

PD_CAN_STRETCHDIB = $0002;// basicly RC_STRETCHDIB

PD_STRETCHDIB_1_1_OK = $0004;// is it fast?

PD_STRETCHDIB_1_2_OK = $0008;

PD_STRETCHDIB_1_N_OK = $0010;

type

hDrawDib = THandle;

TDrawDibTime = record

timeCount: LongInt;// see below

timeDraw: LongInt;// time to draw bitmaps

timeDecompress: LongInt; // time to decompress bitmaps

timeDither: LongInt;// time to dither bitmaps

timeStretch: LongInt;// time to stretch bitmaps

timeBlt: LongInt;// time to transfer bitmaps (BitBlt)

timeSetDIBits: LongInt; // time to transfer bitmaps (SetDIBits)

end;

function DrawDibBegin(hdd: hDrawDib; hDC: THandle; dxDest, dyDest: Integer;

var lpbi: TBitmapInfoHeader; dxSrc, dySrc: Integer; wFlags: UInt): Boolean; stdcall;

function DrawDibChangePalette(hdd: hDrawDib; iStart, iLen: Integer;

var lppe: TPaletteEntry): Boolean; stdcall;

function DrawDibClose(hdd: hDrawDib): Boolean; stdcall;

function DrawDibDraw(hdd: hDrawDib; hDC: THandle; xDst, yDst, dxDst, dyDst: Integer;

var lpbi: TBitmapInfoHeader; Bits: Pointer; xSrc, ySrc, dxSrc, dySrc: Integer;

wFlags: UInt): Boolean; stdcall;

function DrawDibEnd(hdd: hDrawDib): Boolean; stdcall;

function DrawDibGetBuffer(hdd: hDrawDib; var lpbi: TBitmapInfoHeader;

dwSize, dwFlags: DWord): Pointer; stdcall;

function DrawDibGetPalette(hdd: hDrawDib): THandle; stdcall;

function DrawDibOpen: hDrawDib; stdcall;

function DrawDibProfileDisplay(var lpbi: TBitmapInfoHeader): Boolean; stdcall;


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-27468-16.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...