Searched refs:rect_type (Results 1 – 3 of 3) sorted by relevance
37 ffi_type rect_type; in main() local63 rect_type.size = 0;/*sizeof(Rect);*/ in main()64 rect_type.alignment =0;/* __alignof__(Rect);*/ in main()65 rect_type.type = FFI_TYPE_STRUCT; in main()66 rect_type.elements = malloc(3 * sizeof(ffi_type*)); in main()67 rect_type.elements[0] = &point_type; in main()68 rect_type.elements[1] = &size_type; in main()69 rect_type.elements[2] = NULL; in main()77 arglist[3] = &rect_type; in main()
41 ffi_type point_type, rect_type; in main() local62 rect_type.size = 0; in main()63 rect_type.alignment = 0; in main()64 rect_type.type = FFI_TYPE_STRUCT; in main()65 rect_type.elements = rect_type_elements; in main()73 args[1] = &rect_type; in main()76 args[4] = &rect_type; in main()79 args[7] = &rect_type; in main()82 CHECK(ffi_prep_cif(&cif, ABI_NUM, 8, &rect_type, args) == FFI_OK); in main()
11294 static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n) in ShowMetricsWindow()11296 if (rect_type == TRT_OuterRect) { return table->OuterRect; } in ShowMetricsWindow()11297 else if (rect_type == TRT_InnerRect) { return table->InnerRect; } in ShowMetricsWindow()11298 else if (rect_type == TRT_WorkRect) { return table->WorkRect; } in ShowMetricsWindow()11299 else if (rect_type == TRT_HostClipRect) { return table->HostClipRect; } in ShowMetricsWindow()11300 else if (rect_type == TRT_InnerClipRect) { return table->InnerClipRect; } in ShowMetricsWindow()11301 else if (rect_type == TRT_BackgroundClipRect) { return table->BgClipRect; } in ShowMetricsWindow()11302 …else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; re… in ShowMetricsWindow()11303 …else if (rect_type == TRT_ColumnsWorkRect) { ImGuiTableColumn* c = &table->Columns[n]; re… in ShowMetricsWindow()11304 …else if (rect_type == TRT_ColumnsClipRect) { ImGuiTableColumn* c = &table->Columns[n]; re… in ShowMetricsWindow()[all …]