31#ifndef __GDS_TYPES_H__
32#define __GDS_TYPES_H__
37#define CELL_NAME_MAX (100)
40#define MIN(a,b) (((a) < (b)) ? (a) : (b))
41#define MAX(a,b) (((a) > (b)) ? (a) : (b))
graphics_type
Types of graphic objects.
path_type
Defines the line caps of a path.
#define CELL_NAME_MAX
Maximum length of a gds_cell::name or a gds_library::name.
@ GRAPHIC_POLYGON
An arbitrary polygon.
@ GRAPHIC_PATH
Path. Esentially a line.
@ GRAPHIC_BOX
A rectangle.
For the internal use of the checker.
Stores the result of the cell checks.
struct gds_cell_checks::_check_internals _internal
int unresolved_child_count
Number of unresolved cell instances inside this cell. Default: GDS_CELL_CHECK_NOT_RUN.
int affected_by_reference_loop
1 if the cell is affected by a reference loop and therefore not renderable. Default: GDS_CELL_CHECK_N...
This represents an instanc of a cell inside another cell.
int flipped
Mirrored on x-axis before rotation.
double angle
Angle of rotation (counter clockwise) in degrees.
double magnification
magnification
struct gds_cell * cell_ref
Referenced gds_cell structure.
struct gds_point origin
Origin.
char ref_name[CELL_NAME_MAX]
Name of referenced cell.
A Cell inside a gds_library.
struct gds_time_field mod_time
struct gds_cell_checks checks
Checking results.
struct gds_time_field access_time
GList * child_cells
List of gds_cell_instance elements.
struct gds_library * parent_library
Pointer to parent library.
GList * graphic_objs
List of gds_graphics.
int16_t datatype
Data type of graphic object.
enum graphics_type gfx_type
Type of graphic.
enum path_type path_render_type
Line cap.
int width_absolute
Width. Not used for objects other than paths.
int16_t layer
Layer the graphic object is on.
GList * vertices
List of gds_point.
struct gds_time_field mod_time
struct gds_time_field access_time
A point in the 2D plane. Sometimes referred to as vertex.
Date information for cells and libraries.