kig
#include <stdio.h>
#include <stdlib.h>
#include <qglobal.h>
Go to the source code of this file.
|
enum | G_AnyType { G_TRANSLATED,
G_ROTATED,
G_SCALED,
G_REFLECTED
} |
|
enum | G_ArcType { G_THREEPOINTS_ARC = G_REFLECTED + 1
} |
|
enum | G_CalculateType { G_REGULAR_CALCULATE
} |
|
enum | G_CircleType { G_CENTERPOINT_CIRCLE = G_REFLECTED + 1,
G_CENTERRADIUS_CIRCLE
} |
|
enum | G_FilledType { G_DEFAULT_FILLED = G_REFLECTED + 1
} |
|
enum | G_LineType { G_TWOPOINTS_LINE = G_REFLECTED + 1,
G_PARALLEL_LINE,
G_PERPENDICULAR_LINE
} |
|
enum | G_LocusType { G_OBJECT_LOCUS = G_REFLECTED + 1
} |
|
enum | G_MeasureType {
G_DISTANCE_MEASURE,
G_LENGTH_MEASURE,
G_RADIUS_MEASURE,
G_ANGLE_MEASURE,
G_RATIO_MEASURE,
G_SLOPE_MEASURE,
G_AREA_MEASURE
} |
|
enum | G_PointType {
G_FREE_POINT = G_REFLECTED + 1,
G_CONSTRAINED_POINT,
G_INTERSECTION_POINT,
G_INTERSECTION2_POINT,
G_MID_POINT
} |
|
enum | G_RayType { G_TWOPOINTS_RAY = G_REFLECTED + 1,
G_BISECTOR_RAY
} |
|
enum | G_SegmentType { G_ENDPOINTS_SEGMENT = G_REFLECTED + 1
} |
|
enum | G_Type {
G_POINT = 1,
G_SEGMENT = 2,
G_RAY = 4,
G_LINE = 8,
G_CIRCLE = 16,
G_ARC = 32,
G_POLYGON = 64,
G_CIRCLEINTERIOR = 128,
G_ARCSECTOR = 256,
G_ARCSEGMENT = 512,
G_LOCUS = 1024,
G_MEASURE = 2048,
G_CALCULATE = 4096,
G_ANNOTATION = 8192,
G_LOOP = 16384,
G_STRAIGHT = G_SEGMENT | G_LINE | G_RAY,
G_CURVE = G_STRAIGHT | G_ARC | G_CIRCLE,
G_FILLED = G_POLYGON | G_CIRCLEINTERIOR | G_ARCSECTOR | G_ARCSEGMENT,
G_GEOMETRIC = G_POINT | G_CURVE | G_FILLED | G_LOCUS,
G_VALUE = G_MEASURE | G_CALCULATE,
G_TEXT = G_VALUE | G_ANNOTATION,
G_ANY = G_GEOMETRIC | G_TEXT | G_LOOP
} |
|
enum | MenuIDs {
ID_NEW_SEGMENT = 1,
ID_NEW_MIDPOINT,
ID_NEW_LINE,
ID_NEW_PERPENDICULAR,
ID_NEW_RAY,
ID_NEW_BISECTOR,
ID_NEW_CIRCLE,
ID_NEW_INTERSECTION,
ID_NEW_ARC,
ID_NEW_LOCUS,
ID_NEW_ARCSECTOR,
ID_NEW_ARCSEGMENT,
ID_NEW_CIRCLEINTERIOR,
ID_NEW_POLYGON,
ID_EDIT_UNDO,
ID_EDIT_REDO,
ID_EDIT_DELETE,
ID_EDIT_TOGGLELABELS,
ID_EDIT_SHOWLABELS,
ID_EDIT_HIDELABELS,
ID_EDIT_CHANGELABEL,
ID_EDIT_HIDE,
ID_EDIT_SHOWHIDDEN,
ID_EDIT_COLOR,
ID_EDIT_POINTSTYLE,
ID_EDIT_LINESTYLE,
ID_EDIT_FONT,
ID_EDIT_CHANGE_NUMBER_OF_SAMPLES,
ID_EDIT_PREFERENCES,
ID_EDIT_COLOR_BLACK,
ID_EDIT_COLOR_GRAY,
ID_EDIT_COLOR_RED,
ID_EDIT_COLOR_GREEN,
ID_EDIT_COLOR_BLUE,
ID_EDIT_COLOR_YELLOW,
ID_EDIT_COLOR_PURPLE,
ID_EDIT_COLOR_CYAN,
ID_EDIT_COLOR_OTHER,
ID_EDIT_POINTSTYLE_LARGECIRCLE,
ID_EDIT_POINTSTYLE_MEDIUMCIRCLE,
ID_EDIT_POINTSTYLE_SMALLCIRCLE,
ID_EDIT_LINESTYLE_SOLID,
ID_EDIT_LINESTYLE_DASHED,
ID_EDIT_LINESTYLE_DOTTED,
ID_EDIT_LINESTYLE_THIN,
ID_EDIT_LINESTYLE_NORMAL,
ID_EDIT_LINESTYLE_THICK,
ID_EDIT_FONT_10,
ID_EDIT_FONT_12,
ID_EDIT_FONT_14,
ID_EDIT_FONT_20,
ID_EDIT_FONT_30,
ID_EDIT_FONT_FONT,
ID_MEASURE_DISTANCE,
ID_MEASURE_LENGTH,
ID_MEASURE_RADIUS,
ID_MEASURE_ANGLE,
ID_MEASURE_RATIO,
ID_MEASURE_SLOPE,
ID_MEASURE_AREA,
ID_MEASURE_CALCULATE,
ID_TRANSFORM_CHOOSE_VECTOR,
ID_TRANSFORM_CHOOSE_MIRROR,
ID_TRANSFORM_CHOOSE_CENTER,
ID_TRANSFORM_CHOOSE_RATIO,
ID_TRANSFORM_CHOOSE_ANGLE,
ID_TRANSFORM_CLEAR_CHOSEN,
ID_TRANSFORM_TRANSLATE,
ID_TRANSFORM_ROTATE,
ID_TRANSFORM_REFLECT,
ID_TRANSFORM_SCALE,
ID_CONSTRUCTION_MAKE_NORMAL,
ID_CONSTRUCTION_MAKE_GIVEN,
ID_CONSTRUCTION_MAKE_FINAL,
ID_CONSTRUCTION_MAKE_INITIAL,
ID_CONSTRUCTION_RECURSE,
ID_PLAY_QUICKPLAY,
ID_QUICKPLAY_SET_DIRECTORY,
ID_FILE_RECENTLIST_START
} |
|
enum | PointStyle { ANY = 0,
SMALL_CIRCLE,
MEDIUM_CIRCLE,
LARGE_CIRCLE
} |
|
#define CUBE |
( |
|
x | ) |
((x) * (x) * (x)) |
#define QUAD |
( |
|
x | ) |
(((x) * (x)) * ((x) * (x))) |
#define SQR |
( |
|
x | ) |
((x) * (x)) |
Enumerator |
---|
G_TRANSLATED |
|
G_ROTATED |
|
G_SCALED |
|
G_REFLECTED |
|
Definition at line 95 of file kseg-defs.h.
Enumerator |
---|
G_THREEPOINTS_ARC |
|
Definition at line 138 of file kseg-defs.h.
Enumerator |
---|
G_REGULAR_CALCULATE |
|
Definition at line 164 of file kseg-defs.h.
Enumerator |
---|
G_CENTERPOINT_CIRCLE |
|
G_CENTERRADIUS_CIRCLE |
|
Definition at line 132 of file kseg-defs.h.
Enumerator |
---|
G_DEFAULT_FILLED |
|
Definition at line 143 of file kseg-defs.h.
Enumerator |
---|
G_TWOPOINTS_LINE |
|
G_PARALLEL_LINE |
|
G_PERPENDICULAR_LINE |
|
Definition at line 125 of file kseg-defs.h.
Enumerator |
---|
G_DISTANCE_MEASURE |
|
G_LENGTH_MEASURE |
|
G_RADIUS_MEASURE |
|
G_ANGLE_MEASURE |
|
G_RATIO_MEASURE |
|
G_SLOPE_MEASURE |
|
G_AREA_MEASURE |
|
Definition at line 153 of file kseg-defs.h.
Enumerator |
---|
G_FREE_POINT |
|
G_CONSTRAINED_POINT |
|
G_INTERSECTION_POINT |
|
G_INTERSECTION2_POINT |
|
G_MID_POINT |
|
Definition at line 105 of file kseg-defs.h.
Enumerator |
---|
G_TWOPOINTS_RAY |
|
G_BISECTOR_RAY |
|
Definition at line 119 of file kseg-defs.h.
Enumerator |
---|
G_ENDPOINTS_SEGMENT |
|
Definition at line 114 of file kseg-defs.h.
Enumerator |
---|
G_POINT |
|
G_SEGMENT |
|
G_RAY |
|
G_LINE |
|
G_CIRCLE |
|
G_ARC |
|
G_POLYGON |
|
G_CIRCLEINTERIOR |
|
G_ARCSECTOR |
|
G_ARCSEGMENT |
|
G_LOCUS |
|
G_MEASURE |
|
G_CALCULATE |
|
G_ANNOTATION |
|
G_LOOP |
|
G_STRAIGHT |
|
G_CURVE |
|
G_FILLED |
|
G_GEOMETRIC |
|
G_VALUE |
|
G_TEXT |
|
G_ANY |
|
Definition at line 66 of file kseg-defs.h.
Enumerator |
---|
ID_NEW_SEGMENT |
|
ID_NEW_MIDPOINT |
|
ID_NEW_LINE |
|
ID_NEW_PERPENDICULAR |
|
ID_NEW_RAY |
|
ID_NEW_BISECTOR |
|
ID_NEW_CIRCLE |
|
ID_NEW_INTERSECTION |
|
ID_NEW_ARC |
|
ID_NEW_LOCUS |
|
ID_NEW_ARCSECTOR |
|
ID_NEW_ARCSEGMENT |
|
ID_NEW_CIRCLEINTERIOR |
|
ID_NEW_POLYGON |
|
ID_EDIT_UNDO |
|
ID_EDIT_REDO |
|
ID_EDIT_DELETE |
|
ID_EDIT_TOGGLELABELS |
|
ID_EDIT_SHOWLABELS |
|
ID_EDIT_HIDELABELS |
|
ID_EDIT_CHANGELABEL |
|
ID_EDIT_HIDE |
|
ID_EDIT_SHOWHIDDEN |
|
ID_EDIT_COLOR |
|
ID_EDIT_POINTSTYLE |
|
ID_EDIT_LINESTYLE |
|
ID_EDIT_FONT |
|
ID_EDIT_CHANGE_NUMBER_OF_SAMPLES |
|
ID_EDIT_PREFERENCES |
|
ID_EDIT_COLOR_BLACK |
|
ID_EDIT_COLOR_GRAY |
|
ID_EDIT_COLOR_RED |
|
ID_EDIT_COLOR_GREEN |
|
ID_EDIT_COLOR_BLUE |
|
ID_EDIT_COLOR_YELLOW |
|
ID_EDIT_COLOR_PURPLE |
|
ID_EDIT_COLOR_CYAN |
|
ID_EDIT_COLOR_OTHER |
|
ID_EDIT_POINTSTYLE_LARGECIRCLE |
|
ID_EDIT_POINTSTYLE_MEDIUMCIRCLE |
|
ID_EDIT_POINTSTYLE_SMALLCIRCLE |
|
ID_EDIT_LINESTYLE_SOLID |
|
ID_EDIT_LINESTYLE_DASHED |
|
ID_EDIT_LINESTYLE_DOTTED |
|
ID_EDIT_LINESTYLE_THIN |
|
ID_EDIT_LINESTYLE_NORMAL |
|
ID_EDIT_LINESTYLE_THICK |
|
ID_EDIT_FONT_10 |
|
ID_EDIT_FONT_12 |
|
ID_EDIT_FONT_14 |
|
ID_EDIT_FONT_20 |
|
ID_EDIT_FONT_30 |
|
ID_EDIT_FONT_FONT |
|
ID_MEASURE_DISTANCE |
|
ID_MEASURE_LENGTH |
|
ID_MEASURE_RADIUS |
|
ID_MEASURE_ANGLE |
|
ID_MEASURE_RATIO |
|
ID_MEASURE_SLOPE |
|
ID_MEASURE_AREA |
|
ID_MEASURE_CALCULATE |
|
ID_TRANSFORM_CHOOSE_VECTOR |
|
ID_TRANSFORM_CHOOSE_MIRROR |
|
ID_TRANSFORM_CHOOSE_CENTER |
|
ID_TRANSFORM_CHOOSE_RATIO |
|
ID_TRANSFORM_CHOOSE_ANGLE |
|
ID_TRANSFORM_CLEAR_CHOSEN |
|
ID_TRANSFORM_TRANSLATE |
|
ID_TRANSFORM_ROTATE |
|
ID_TRANSFORM_REFLECT |
|
ID_TRANSFORM_SCALE |
|
ID_CONSTRUCTION_MAKE_NORMAL |
|
ID_CONSTRUCTION_MAKE_GIVEN |
|
ID_CONSTRUCTION_MAKE_FINAL |
|
ID_CONSTRUCTION_MAKE_INITIAL |
|
ID_CONSTRUCTION_RECURSE |
|
ID_PLAY_QUICKPLAY |
|
ID_QUICKPLAY_SET_DIRECTORY |
|
ID_FILE_RECENTLIST_START |
|
Definition at line 170 of file kseg-defs.h.
Enumerator |
---|
ANY |
|
SMALL_CIRCLE |
|
MEDIUM_CIRCLE |
|
LARGE_CIRCLE |
|
Definition at line 293 of file kseg-defs.h.
int INTRAND |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.