Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_view2d.h
| Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | |||||
| * Current intent is to use it from user code, such as view navigation and zoom operations. */ | * Current intent is to use it from user code, such as view navigation and zoom operations. */ | ||||
| void UI_view2d_curRect_changed(const struct bContext *C, struct View2D *v2d); | void UI_view2d_curRect_changed(const struct bContext *C, struct View2D *v2d); | ||||
| void UI_view2d_totRect_set(struct View2D *v2d, int width, int height); | void UI_view2d_totRect_set(struct View2D *v2d, int width, int height); | ||||
| void UI_view2d_totRect_set_resize(struct View2D *v2d, int width, int height, bool resize); | void UI_view2d_totRect_set_resize(struct View2D *v2d, int width, int height, bool resize); | ||||
| void UI_view2d_mask_from_win(const struct View2D *v2d, struct rcti *r_mask); | void UI_view2d_mask_from_win(const struct View2D *v2d, struct rcti *r_mask); | ||||
| /* per tab offsets, returns 1 if tab changed */ | |||||
| bool UI_view2d_tab_set(struct View2D *v2d, int tab); | |||||
| void UI_view2d_zoom_cache_reset(void); | void UI_view2d_zoom_cache_reset(void); | ||||
| /* view matrix operations */ | /* view matrix operations */ | ||||
| void UI_view2d_view_ortho(const struct View2D *v2d); | void UI_view2d_view_ortho(const struct View2D *v2d); | ||||
| void UI_view2d_view_orthoSpecial(struct ARegion *region, struct View2D *v2d, const bool xaxis); | void UI_view2d_view_orthoSpecial(struct ARegion *region, struct View2D *v2d, const bool xaxis); | ||||
| void UI_view2d_view_restore(const struct bContext *C); | void UI_view2d_view_restore(const struct bContext *C); | ||||
| /* grid drawing */ | /* grid drawing */ | ||||
| ▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines | |||||