Fl_Plxmap::copy
时间: 2023-08-11 10:07:57 浏览: 45
Fl_Pixmap::copy() 是一个函数,它允许将当前 pixmap 复制到另一个 pixmap 中。该函数的语法如下:
```c++
void Fl_Pixmap::copy(int dst_X, int dst_Y, int W, int H, int src_X, int src_Y);
```
其中,`dst_X` 和 `dst_Y` 是目标 pixmap 中的左上角坐标,`W` 和 `H` 是要复制的区域的宽度和高度,`src_X` 和 `src_Y` 是源 pixmap 中的左上角坐标。这个函数可以用来制作动画或者在不同的 pixmap 之间复制图像。
相关问题
帮我把下列数据变为json格式,数据全为字符串格式:tx_date: 20230305, check_note: 1, no: 20230609SYZC000293, cap_name: test0609, cur_no: 1, cost: 76804.40, dep_sts: 未折旧, dep_mode: 1, dep_cyc: 3, leave_rate: 0.00000, dep_time: 12, use_time: 0, opn_br_no: 28, open_date: 0, cap_code: 房屋及建筑物, dep_dec_amt: 0, accdepre_amt: 0, accdepre_amt_after: 10000.00, dep_bal: 0.00, accdepre_amting: 10000, remark: test0612, no_zh_: 20230609SYZC000305, check_note_zh_: 调增, flowable_: 1, flowable_targetNodeData: {"category":"CWSYS_70","isInput":"1","menuName":"使用资产折旧调整","pageNo":"cwsys_05_04"}, flowable_file_dataInfo: {"flowable_file_storeType":"undefined","flowable_file_split":false,"flowable_file_canDelete":true,"flowable_file_readOnly":false,"flowable_file_id":"FL-5272bc70-08e8-11ee-91f0-4f321091ca5a"}, apply_amt: 10000
{
"tx_date": "20230305",
"check_note": "1",
"no": "20230609SYZC000293",
"cap_name": "test0609",
"cur_no": "1",
"cost": "76804.40",
"dep_sts": "未折旧",
"dep_mode": "1",
"dep_cyc": "3",
"leave_rate": "0.00000",
"dep_time": "12",
"use_time": "0",
"opn_br_no": "28",
"open_date": "0",
"cap_code": "房屋及建筑物",
"dep_dec_amt": "0",
"accdepre_amt": "0",
"accdepre_amt_after": "10000.00",
"dep_bal": "0.00",
"accdepre_amting": "10000",
"remark": "test0612",
"no_zh_": "20230609SYZC000305",
"check_note_zh_": "调增",
"flowable_": "1",
"flowable_targetNodeData": {
"category": "CWSYS_70",
"isInput": "1",
"menuName": "使用资产折旧调整",
"pageNo": "cwsys_05_04"
},
"flowable_file_dataInfo": {
"flowable_file_storeType": "undefined",
"flowable_file_split": false,
"flowable_file_canDelete": true,
"flowable_file_readOnly": false,
"flowable_file_id": "FL-5272bc70-08e8-11ee-91f0-4f321091ca5a"
},
"apply_amt": "10000"
}
帮我把以下数据变成json格式:{ "switch_Cash": "Y", "pageMark": "add", "tx_date": "20230305", "cur_no": "1", "sfk_type": "03", "lease_type": "经营租赁", "change_rate": "0", "cap_name": "20220731SYZC000271", "lease_no": "20220731SYZC000271", "contract_key": "6980120220731001", "contract_name": "测试合同20220731-01", "bef_arch_area": "300", "bef_cash_rate: 2.38, "bill_type: 3, "bef_tax_rate: 5, "sfk_term: 4, "bef_tot_pay_time: 2, "bef_eve_amt: 22500, "exe_renew: N, "bef_renew_amt: 0, "bef_renew_eve_amt: 0, "bef_tot_pay_amt: 19047.62, "bef_unset_fin_exp: 221.39, "bef_contract_amt: 45000, "sige_date: 20220731, "bef_arch_position: 广州省佛山市宝芝林, "bef_effect_date: 20220801, "bef_mtr_date: 20240730, "bef_first_fk_date: 20220731,, "bef_renew_eft_date: , bef_renew_mtr_date: , aft_arch_area: 300, aft_bill_type: 3, aft_tax_rate: 5, aft_levy_rate: 5, aft_cash_rate: 2.38, aft_sfk_type: 03, aft_exe_renew: N, is_onchange: N, aft_sfk_term: 4, aft_contract_amt: 45000.00, aft_tot_pay_time: 2, aft_eve_amt: 22500, bef_renew_tot_pay_time: 0, max_term_seqn: 0, aft_effect_date: 20220801, aft_mtr_date: 20240730, aft_first_fk_date: 20220731, aft_renew_eft_date: , aft_renew_mtr_date: , bef_levy_rate: 5, cap_code: fjr0901, lease_no1: 20220731SYZC000271, aft_tot_pay_amt: 42857.14, aft_unset_fin_exp: 184.48999999999796, apply_amt: 23809.52, remark: test0609, change_valid_date: 20230609, cap_name_zh_: 测试资产-20230731-01, cur_no_zh_: 人民币, sfk_type_zh_: 周期性, flowable_: 1, flowable_targetNodeData: {"category":"CWSYS_69","isInput":"1","menuName":"使用权资产变更","pageNo":"cwsys_05_07"}, flowable_file_dataInfo: {"flowable_file_storeType":"undefined","flowable_file_split":false,"flowable_file_canDelete":true,"flowable_file_readOnly":false,"flowable_file_id":"FL-495eabb0-069c-11ee-9b92-59e9b66c35e6"}, cashList: [{"contract_no":"20220731HTXX000001","pay_date":"20220731","no":"20230201XJL000031","pay_amt":"25000.00","term_start_date":"20220801","create_trace_no":"16","tx_date":"0","trace_no":"0","term_end_date":"20230731","pay_sts":"未支付","version":"1","tax_rate":"0.00","term_seqn":"1","tax_amt":"1190.48","pay_sts_val":"0","id":"1","create_date":"20230201","levy_rate":"0.00"},{"contract_no":"20220731HTXX000001","pay_date":"20230731","no":"20230201XJL000032","pay_amt":"20000.00","term_start_date":"20230731","create_trace_no":"16","tx_date":"0","trace_no":"0","term_end_date":"20240730","pay_sts":"未支付","version":"1","tax_rate":"0.00","term_seqn":"2","tax_amt":"952.38","pay_sts_val":"0","id":"1","create_date":"20230201","levy_rate":"0.00"}] }
{
"switch_Cash": "Y",
"pageMark": "add",
"tx_date": "20230305",
"cur_no": "1",
"sfk_type": "03",
"lease_type": "经营租赁",
"change_rate": "0",
"cap_name": "20220731SYZC000271",
"lease_no": "20220731SYZC000271",
"contract_key": "6980120220731001",
"contract_name": "测试合同20220731-01",
"bef_arch_area": "300",
"bef_cash_rate": 2.38,
"bill_type": 3,
"bef_tax_rate": 5,
"sfk_term": 4,
"bef_tot_pay_time": 2,
"bef_eve_amt": 22500,
"exe_renew": "N",
"bef_renew_amt": 0,
"bef_renew_eve_amt": 0,
"bef_tot_pay_amt": 19047.62,
"bef_unset_fin_exp": 221.39,
"bef_contract_amt": 45000,
"sige_date": "20220731",
"bef_arch_position": "广州省佛山市宝芝林",
"bef_effect_date": "20220801",
"bef_mtr_date": "20240730",
"bef_first_fk_date": "20220731",
"bef_renew_eft_date": "",
"bef_renew_mtr_date": "",
"aft_arch_area": 300,
"aft_bill_type": 3,
"aft_tax_rate": 5,
"aft_levy_rate": 5,
"aft_cash_rate": 2.38,
"aft_sfk_type": "03",
"aft_exe_renew": "N",
"is_onchange": "N",
"aft_sfk_term": 4,
"aft_contract_amt": 45000.00,
"aft_tot_pay_time": 2,
"aft_eve_amt": 22500,
"bef_renew_tot_pay_time": 0,
"max_term_seqn": 0,
"aft_effect_date": "20220801",
"aft_mtr_date": "20240730",
"aft_first_fk_date": "20220731",
"aft_renew_eft_date": "",
"aft_renew_mtr_date": "",
"bef_levy_rate": 5,
"cap_code": "fjr0901",
"lease_no1": "20220731SYZC000271",
"aft_tot_pay_amt": 42857.14,
"aft_unset_fin_exp": 184.48999999999796,
"apply_amt": 23809.52,
"remark": "test0609",
"change_valid_date": "20230609",
"cap_name_zh_": "测试资产-20230731-01",
"cur_no_zh_": "人民币",
"sfk_type_zh_": "周期性",
"flowable_": 1,
"flowable_targetNodeData": {
"category": "CWSYS_69",
"isInput": "1",
"menuName": "使用权资产变更",
"pageNo": "cwsys_05_07"
},
"flowable_file_dataInfo": {
"flowable_file_storeType": "undefined",
"flowable_file_split": false,
"flowable_file_canDelete": true,
"flowable_file_readOnly": false,
"flowable_file_id": "FL-495eabb0-069c-11ee-9b92-59e9b66c35e6"
},
"cashList": [
{
"contract_no": "20220731HTXX000001",
"pay_date": "20220731",
"no": "20230201XJL000031",
"pay_amt": "25000.00",
"term_start_date": "20220801",
"create_trace_no": "16",
"tx_date": "0",
"trace_no": "0",
"term_end_date": "20230731",
"pay_sts": "未支付",
"version": "1",
"tax_rate": "0.00",
"term_seqn": "1",
"tax_amt": "1190.48",
"pay_sts_val": "0",
"id": "1",
"create_date": "20230201",
"levy_rate": "0.00"
},
{
"contract_no": "20220731HTXX000001",
"pay_date": "20230731",
"no": "20230201XJL000032",
"pay_amt": "20000.00",
"term_start_date": "20230731",
"create_trace_no": "16",
"tx_date": "0",
"trace_no": "0",
"term_end_date": "20240730",
"pay_sts": "未支付",
"version": "1",
"tax_rate": "0.00",
"term_seqn": "2",
"tax_amt": "952.38",
"pay_sts_val": "0",
"id": "1",
"create_date": "20230201",
"levy_rate": "0.00"
}
]
}
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)