ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
ViewCornerCut Struct Reference

The horizontal inset of each of a View's corners. More...

#include <View.h>

Data Fields

int bottomLeft
 
int bottomRight
 
int topLeft
 
int topRight
 

Detailed Description

The horizontal inset of each of a View's corners.

A non-zero value draws that corner pulled in along the x axis, slanting the edge it shares with the corner below or above it. This is an inset, not a 45 degree chamfer: the slant runs the full height of the View, however small the inset.

Definition at line 191 of file View.h.

Field Documentation

◆ bottomLeft

int ViewCornerCut::bottomLeft

Definition at line 192 of file View.h.

◆ bottomRight

int ViewCornerCut::bottomRight

Definition at line 192 of file View.h.

◆ topLeft

int ViewCornerCut::topLeft

Definition at line 192 of file View.h.

◆ topRight

int ViewCornerCut::topRight

Definition at line 192 of file View.h.


The documentation for this struct was generated from the following file: