47 void drawZoomedRect(Graphics& g,
const Rectangle<float>& rect)
const;
50 void drawZoomedLine(Graphics& g,
const Line<float>& line,
float thickness)
const;
58 bool fillAlphaChannelWithCurrentBrush =
false);
Enables zooming of a painted component using special drawing methods.
Definition ZoomableComponent.h:7
void drawZoomedEllipse(Graphics &g, const Rectangle< float > &bounds)
Definition ZoomableComponent.cpp:90
void setHorizontalZoomCenter(float center)
Definition ZoomableComponent.h:17
AffineTransform m_transform
Definition ZoomableComponent.h:73
void setHorizontalZoomFactor(float factor)
Definition ZoomableComponent.h:12
void drawZoomedLine(Graphics &g, const Line< float > &line, float thickness) const
Definition ZoomableComponent.cpp:46
void drawZoomedRect(Graphics &g, const Rectangle< float > &rect) const
Definition ZoomableComponent.cpp:24
void setVerticalZoomCenter(float center)
Definition ZoomableComponent.h:27
void SetTransformToFit(int width, int height)
Definition ZoomableComponent.cpp:123
float getHorizontalZoomFactor() const
Definition ZoomableComponent.h:36
void drawNormalisedZoomedRect(Graphics &g, const Rectangle< float > &rect) const
Definition ZoomableComponent.cpp:14
float getVerticalZoomFactor() const
Definition ZoomableComponent.h:38
void drawNormalisedZoomedRectLine(Graphics &g, const Rectangle< float > &rect) const
Definition ZoomableComponent.cpp:19
float m_hCenter
Definition ZoomableComponent.h:68
void drawNormalisedZoomedImage(Graphics &g, Image &image, const Rectangle< float > &bounds, bool fillAlphaChannelWithCurrentBrush=false)
Definition ZoomableComponent.cpp:73
float m_hZoom
Definition ZoomableComponent.h:67
void drawNormalisedZoomedPath(Graphics &g, const Path &path, float thickness)
Definition ZoomableComponent.cpp:57
~ZoomableComponent() override=default
float getVerticalZoomCenter() const
Definition ZoomableComponent.h:39
void drawNormalisedZoomedText(Graphics &g, String text, Rectangle< float > bounds) const
Definition ZoomableComponent.cpp:41
void drawNormalisedZoomedLine(Graphics &g, Line< float > line, float thickness) const
Definition ZoomableComponent.cpp:35
void setVerticalZoomFactor(float factor)
Definition ZoomableComponent.h:22
void setHorizontalZoomFromRange(const Range< float > xr)
Definition ZoomableComponent.cpp:116
void drawZoomedPath(Graphics &g, Path path, float thickness)
Definition ZoomableComponent.cpp:62
Range< float > getVerticalRange() const
Definition ZoomableComponent.cpp:9
void updateTransform()
Definition ZoomableComponent.cpp:101
Range< float > getHorizontalRange() const
Definition ZoomableComponent.cpp:3
void fillNormalisedZoomedEllipse(Graphics &g, const Rectangle< float > &bounds)
Definition ZoomableComponent.cpp:80
void drawNormalisedZoomedEllipse(Graphics &g, const Rectangle< float > &bounds)
Definition ZoomableComponent.cpp:85
float m_vCenter
Definition ZoomableComponent.h:71
float m_vZoom
Definition ZoomableComponent.h:70
float getHorizontalZoomCenter() const
Definition ZoomableComponent.h:37
ZoomableComponent()=default
Definition AirAbsorptionFilter.cpp:2