Blender V5.3
screen_geometry.cc File Reference

Functions for screen vertices and edges. More...

#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rect.hh"
#include "BKE_screen.hh"
#include "DNA_screen_types.h"
#include "DNA_windowmanager_types.h"
#include "ED_screen.hh"
#include "MEM_guardedalloc.h"
#include "WM_api.hh"
#include "screen_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

int blender::screen_geom_area_height (const ScrArea *area)
int blender::screen_geom_area_width (const ScrArea *area)
ScrVert * blender::screen_geom_vertex_add_ex (ScrAreaMap *area_map, short x, short y)
ScrVert * blender::screen_geom_vertex_add (bScreen *screen, short x, short y)
ScrEdge * blender::screen_geom_edge_add_ex (ScrAreaMap *area_map, ScrVert *v1, ScrVert *v2)
ScrEdge * blender::screen_geom_edge_add (bScreen *screen, ScrVert *v1, ScrVert *v2)
bool blender::screen_geom_edge_is_horizontal (ScrEdge *se)
ScrEdge * blender::screen_geom_area_map_find_active_scredge (const ScrAreaMap *area_map, const rcti *bounds_rect, const int mx, const int my, int safety)
ScrEdge * blender::screen_geom_find_active_scredge (const wmWindow *win, const bScreen *screen, const int mx, const int my)
static bool blender::screen_geom_vertices_scale_pass (const wmWindow *win, const bScreen *screen, const rcti *screen_rect)
void blender::screen_geom_vertices_scale (const wmWindow *win, bScreen *screen)
 Main screen-layout calculation function.
short blender::screen_geom_find_area_split_point (const ScrArea *area, const rcti *window_rect, const eScreenAxis dir_axis, float fac)
void blender::screen_geom_select_connected_edge (const wmWindow *win, ScrEdge *edge)
bool blender::screen_geom_edge_can_extend (const wmWindow *win, ScrEdge *edge)
void blender::screen_geom_select_extended_edge (const wmWindow *win, ScrEdge *edge)
void blender::screen_geom_edge_aligned_merge (const wmWindow *win, ScrEdge *edge)

Detailed Description

Functions for screen vertices and edges.

Screen geometry refers to the vertices (ScrVert) and edges (ScrEdge) through which the flexible screen-layout system of Blender is established.

Definition in file screen_geometry.cc.