Rect Struct Documentation
structRectNamespace:datalogics_interface
Detailed Description
The coordinates for a rectangle include left, top, right, bottom. Width () and height () defines the rectangle's width and height. LLx and LLy defines lower left corner, and URx and URy defines the upper right corner.
Referenced by
AnnotationAxialShadingPatternCircleAnnotationContainerContentDrawParamsElementFontFormFreeTextAnnotationGroupHighlightAnnotationImageInkAnnotationLineAnnotationLinkAnnotationPagePathPolyLineAnnotationPolygonAnnotationQuadRectRedactionRemoteDestinationShadingPatternSignDocSquareAnnotationTextTextMarkupAnnotationTextRunUnderlineAnnotationViewDestination
Uses types
Constructor & Destructor Documentation
Rect
Rect()Rect
Rect(doublell_x, doublell_y, doubleur_x, doubleur_y)Parameters
ll_x: doublell_y: doubleur_x: doubleur_y: double
Member Function Documentation
bottom
doublebottom()Returns:
doubleheight
doubleheight()Returns:
doublein_rect
boolin_rect(const Rect &other)Parameters
other: const Rect &
Returns:
boolintersect
Rectintersect(const Rect &other)Parameters
other: const Rect &
Returns:
Rectis_empty
boolis_empty()Returns:
boolleft
doubleleft()Returns:
doubleoperator!=
booloperator!=(const Rect &rhs)Parameters
rhs: const Rect &
Returns:
booloperator==
booloperator==(const Rect &rhs)Parameters
rhs: const Rect &
Returns:
booloverlaps
booloverlaps(const Rect &other)Parameters
other: const Rect &
Returns:
boolright
doubleright()Returns:
doubleset_bottom
voidset_bottom(doubleval)Parameters
val: double
Returns:
voidset_left
voidset_left(doubleval)Parameters
val: double
Returns:
voidset_right
voidset_right(doubleval)Parameters
val: double
Returns:
voidset_top
voidset_top(doubleval)Parameters
val: double
Returns:
voidto_string
std::stringto_string()Returns:
std::stringtop
doubletop()Returns:
doubletransform
Recttransform(const Matrix &m)Parameters
Returns:
Rectwidth
doublewidth()Returns:
double