?? temp
字號:
public void WMFPlay( ) {
// AppletWidth = w;
// AppletHeight = h;
// devExtX = (short) w;
// devExtY = (short) h;
ht = new WMFHandleTable();
drawFilled = false;
MetaRecordInfo = MetaRecordVector.elements();
handleIndex = 0;
recordIndex = 0;
while(MetaRecordInfo.hasMoreElements()){
mRecord = (MetaRecord) MetaRecordInfo.nextElement();
WMFlistRecord(mRecord, false);
recordIndex++;
}
}
// works on a single metarecord
// still need something to write out all info assigned in this
// public synchronized void WMFlistRecord(MetaRecord mRecord , boolean fromSelect, boolean play, Graphics g){
public synchronized void WMFlistRecord(MetaRecord mRecord , boolean fromSelect){
switch(mRecord.getFunction()){
case 0x2fa: // create pen indirect
if (!fromSelect){
ht.addObject(recordIndex,mRecord );
}
break;
case 0x2fc: //createBrushIndirect
if (!fromSelect){ // if not seleceting it, just add it to table
ht.addObject(recordIndex,mRecord );
}
break;
case 0x6ff: // create regio
if (!fromSelect){
ht.addObject(recordIndex ,mRecord );
}
break;
case 0x2fb: //createFontIndirect
if (!fromSelect){ // if not selecting it, just add it to table
ht.addObject(recordIndex,mRecord );
}
break
case 0x1f0:
windowInt = readInt(parmStream);
ht.deleteObject(windowInt);
break;
default:
}
} // end switch
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -