|
Scroom 0.14-49-gb7ae7a6d
|
#include <rectangle.hh>


Public Types | |
| using | value_type = T |
| using | xy_type = Point< T > |
Private Attributes | |
| Segment< value_type > | horizontally |
| Segment< value_type > | vertically |
| using Scroom::Utils::Rectangle< T >::value_type = T |
| using Scroom::Utils::Rectangle< T >::xy_type = Point<T> |
|
default |
Referenced by Scroom::Utils::Rectangle< T >::intersection(), and Scroom::Utils::Rectangle< T >::moveTo().

|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
Implicit conversion from Rectangle<int> to Rectangle<T>. If T!=int
|
inline |

|
inline |

|
inline |

|
inline |
Referenced by drawOutOfBoundsWithoutBackground().


|
inline |

|
inline |

|
inline |
Referenced by drawOutOfBoundsWithoutBackground(), PipetteCommonOperationsCMYK::sumPixelValues(), and PipetteCommonOperationsRGB::sumPixelValues().


|
inline |
Referenced by Scroom::Utils::anonymous_namespace{tweak-view.cc}::corner_getter().


|
inline |
Referenced by Scroom::Utils::anonymous_namespace{tweak-view.cc}::corner_getter(), and Scroom::Utils::roundCorners().


|
inline |
Referenced by fmt::formatter< Scroom::Utils::Rectangle< T > >::format(), Scroom::Utils::Rectangle< T >::height(), Scroom::Utils::operator<<(), setClip(), Scroom::TiledBitmap::to_metadata(), and Scroom::Utils::Rectangle< T >::toGdkRectangle().


|
inline |
Referenced by Scroom::Utils::center(), and Scroom::Utils::roundOutward().

|
inline |
Referenced by drawOutOfBoundsWithoutBackground(), fmt::formatter< Scroom::Utils::Rectangle< T > >::format(), Scroom::Utils::operator<<(), TiledBitmap::redraw(), setClip(), PipetteCommonOperationsCMYK::sumPixelValues(), PipetteCommonOperationsRGB::sumPixelValues(), Scroom::Utils::Rectangle< T >::toGdkRectangle(), and Scroom::Utils::Rectangle< T >::x().


|
inline |
Referenced by PipetteCommonOperationsCMYK::sumPixelValues(), and PipetteCommonOperationsRGB::sumPixelValues().


|
inline |

|
inline |
Referenced by fmt::formatter< Scroom::Utils::Rectangle< T > >::format(), Scroom::Utils::operator<<(), setClip(), PipetteCommonOperationsCMYK::sumPixelValues(), PipetteCommonOperationsRGB::sumPixelValues(), Scroom::Utils::Rectangle< T >::toGdkRectangle(), and Scroom::Utils::Rectangle< T >::y().


|
inline |
Referenced by Scroom::Utils::anonymous_namespace{tweak-view.cc}::corner_getter(), CommonOperations::draw(), Operations1bpp::draw(), Operations8bpp::draw(), Operations::draw(), drawOutOfBoundsWithBackground(), drawOutOfBoundsWithBackgroundColor(), drawOutOfBoundsWithoutBackground(), MeasureHandler::render(), PipetteHandler::render(), and Scroom::Utils::roundCorners().


|
inline |
Referenced by Scroom::Utils::anonymous_namespace{tweak-view.cc}::corner_getter().


|
inline |
Referenced by Scroom::Utils::center(), and Scroom::Utils::roundOutward().

|
inline |
Referenced by fmt::formatter< Scroom::Utils::Rectangle< T > >::format(), Scroom::Utils::operator<<(), setClip(), PipetteCommonOperationsCMYK::sumPixelValues(), PipetteCommonOperationsRGB::sumPixelValues(), Scroom::TiledBitmap::to_metadata(), Scroom::Utils::Rectangle< T >::toGdkRectangle(), and Scroom::Utils::Rectangle< T >::width().


|
inline |
Referenced by TiledBitmap::drawTile(), operator<<(), traceRectangleContour(), View::updateScrollbars(), and View::updateZoom().


|
inline |
Referenced by PipetteHandler::computeValues(), anonymous_namespace{tiledbitmappresentation.cc}::TiledBitmapPresentation::getPixelAverages(), Scroom::Utils::Rectangle< T >::intersection(), and TiledBitmap::redraw().


|
inline |

|
inline |

|
inline |
Referenced by Scroom::Utils::Rectangle< T >::above(), Scroom::Utils::Rectangle< T >::below(), drawOutOfBoundsWithoutBackground(), Scroom::Utils::Rectangle< T >::leftOf(), Scroom::Utils::Rectangle< T >::operator==(), and Scroom::Utils::Rectangle< T >::rightOf().


|
inline |

|
inline |

|
inline |

|
inline |
Referenced by drawOutOfBoundsWithBackground(), and Scroom::Utils::Rectangle< T >::moveTo().


|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

|
inline |

|
inline |

|
inline |
Referenced by drawOutOfBoundsWithoutBackground().


|
inline |

|
inline |

|
inline |
|
inline |

|
inline |
|
inline |
|
inline |
Referenced by TransparentOverlayViewInfo::redraw(), and ExamplePresentation::redraw().


|
inline |
Referenced by TiledBitmap::drawTile(), Scroom::Pnm::BinarySource::fillTiles(), Scroom::Pnm::AsciiSource::fillTiles(), Scroom::Pnm::AsciiSource1bpp::fillTiles(), operator<<(), traceRectangleContour(), View::updateScrollbars(), and View::updateZoom().


|
inline |
Referenced by Operations1bpp::draw(), Operations8bpp::draw(), Operations::draw(), TiledBitmap::drawTile(), Scroom::Utils::Rectangle< T >::moveTo(), operator<<(), traceRectangleContour(), and View::updateScrollbars().


|
inline |
Referenced by Operations1bpp::draw(), Operations8bpp::draw(), Operations::draw(), TiledBitmap::drawTile(), Scroom::Utils::Rectangle< T >::moveTo(), operator<<(), traceRectangleContour(), and View::updateScrollbars().


|
private |
Referenced by Scroom::Utils::Rectangle< T >::above(), Scroom::Utils::Rectangle< T >::above(), Scroom::Utils::Rectangle< T >::below(), Scroom::Utils::Rectangle< T >::below(), Scroom::Utils::Rectangle< T >::contains(), Scroom::Utils::Rectangle< T >::contains(), Scroom::Utils::Rectangle< T >::getBottomLeft(), Scroom::Utils::Rectangle< T >::getBottomRight(), Scroom::Utils::Rectangle< T >::getHorizontally(), Scroom::Utils::Rectangle< T >::getLeft(), Scroom::Utils::Rectangle< T >::getRight(), Scroom::Utils::Rectangle< T >::getSize(), Scroom::Utils::Rectangle< T >::getTopLeft(), Scroom::Utils::Rectangle< T >::getTopRight(), Scroom::Utils::Rectangle< T >::getWidth(), Scroom::Utils::Rectangle< T >::intersection(), Scroom::Utils::Rectangle< T >::intersects(), Scroom::Utils::Rectangle< T >::isEmpty(), Scroom::Utils::Rectangle< T >::leftOf(), Scroom::Utils::Rectangle< T >::leftOf(), Scroom::Utils::Rectangle< T >::moveTo(), Scroom::Utils::Rectangle< T >::operator*=(), Scroom::Utils::Rectangle< T >::operator*=(), Scroom::Utils::Rectangle< T >::operator+=(), Scroom::Utils::Rectangle< T >::operator/=(), Scroom::Utils::Rectangle< T >::operator/=(), Scroom::Utils::Rectangle< T >::operator==(), Scroom::Utils::Rectangle< T >::reduceSizeToMultipleOf(), Scroom::Utils::Rectangle< T >::rightOf(), Scroom::Utils::Rectangle< T >::rightOf(), Scroom::Utils::Rectangle< T >::setLeft(), Scroom::Utils::Rectangle< T >::setRight(), Scroom::Utils::Rectangle< T >::setSize(), and Scroom::Utils::Rectangle< T >::to().
|
private |
Referenced by Scroom::Utils::Rectangle< T >::above(), Scroom::Utils::Rectangle< T >::above(), Scroom::Utils::Rectangle< T >::below(), Scroom::Utils::Rectangle< T >::below(), Scroom::Utils::Rectangle< T >::contains(), Scroom::Utils::Rectangle< T >::contains(), Scroom::Utils::Rectangle< T >::getBottom(), Scroom::Utils::Rectangle< T >::getBottomLeft(), Scroom::Utils::Rectangle< T >::getBottomRight(), Scroom::Utils::Rectangle< T >::getHeight(), Scroom::Utils::Rectangle< T >::getSize(), Scroom::Utils::Rectangle< T >::getTop(), Scroom::Utils::Rectangle< T >::getTopLeft(), Scroom::Utils::Rectangle< T >::getTopRight(), Scroom::Utils::Rectangle< T >::getVertically(), Scroom::Utils::Rectangle< T >::intersection(), Scroom::Utils::Rectangle< T >::intersects(), Scroom::Utils::Rectangle< T >::isEmpty(), Scroom::Utils::Rectangle< T >::leftOf(), Scroom::Utils::Rectangle< T >::leftOf(), Scroom::Utils::Rectangle< T >::moveTo(), Scroom::Utils::Rectangle< T >::operator*=(), Scroom::Utils::Rectangle< T >::operator*=(), Scroom::Utils::Rectangle< T >::operator+=(), Scroom::Utils::Rectangle< T >::operator/=(), Scroom::Utils::Rectangle< T >::operator/=(), Scroom::Utils::Rectangle< T >::operator==(), Scroom::Utils::Rectangle< T >::reduceSizeToMultipleOf(), Scroom::Utils::Rectangle< T >::rightOf(), Scroom::Utils::Rectangle< T >::rightOf(), Scroom::Utils::Rectangle< T >::setBottom(), Scroom::Utils::Rectangle< T >::setSize(), Scroom::Utils::Rectangle< T >::setTop(), and Scroom::Utils::Rectangle< T >::to().