com.stimulsoft.report.painters
Class StiGaugeContextPainter

java.lang.Object
  extended by com.stimulsoft.report.painters.StiGaugeContextPainter
Direct Known Subclasses:
StiGdiGaugeContextPainter

public abstract class StiGaugeContextPainter
extends java.lang.Object

Copyright Stimulsoft


Field Summary
 StiGauge gauge
           
 java.util.List<StiGaugeGeom> geoms
           
 double pageZoom
           
 StiRectangle rect
           
 double zoom
           
 
Constructor Summary
StiGaugeContextPainter(StiGauge gauge, StiRectangle rect, double zoom, double pageZoom)
           
 
Method Summary
 void addEllipseGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth)
           
 void addGraphicsArcGeometryGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth, double startAngle, double sweepAngle, double startWidth, double endWidth)
           
 void addGraphicsPathGaugeGeom(StiGraphicsPathGaugeGeom geom)
           
 void addPieGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth, double startAngle, double sweepAngle)
           
 void addPopTranformGaugeGeom()
           
 void addPushMatrixGaugeGeom(double angle, StiPoint centerPoint)
           
 void addRadialRangeGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth, StiPoint centerPoint, double startAngle, double sweepAngle, double radius1, double radius2, double radius3, double radius4)
           
 void addRectangleGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth)
           
 void addRoundedRectangleGaugeGeom(StiRectangle rect, StiBrush background, StiBrush borderBrush, double borderWidth, int leftTop, int rightTop, int rightBottom, int leftBottom)
           
 void addTextGaugeGeom(java.lang.String text, StiFont font, StiBrush foreground, StiRectangle rect, StringFormat sf)
           
static StiFont changeFontSize(StiFont font, double zoom)
           
abstract  StiSize measureString(java.lang.String text, StiFont font)
           
abstract  void render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zoom

public double zoom

pageZoom

public double pageZoom

rect

public StiRectangle rect

gauge

public StiGauge gauge

geoms

public java.util.List<StiGaugeGeom> geoms
Constructor Detail

StiGaugeContextPainter

public StiGaugeContextPainter(StiGauge gauge,
                              StiRectangle rect,
                              double zoom,
                              double pageZoom)
Method Detail

changeFontSize

public static StiFont changeFontSize(StiFont font,
                                     double zoom)

measureString

public abstract StiSize measureString(java.lang.String text,
                                      StiFont font)

addPieGaugeGeom

public void addPieGaugeGeom(StiRectangle rect,
                            StiBrush background,
                            StiBrush borderBrush,
                            double borderWidth,
                            double startAngle,
                            double sweepAngle)

addEllipseGaugeGeom

public void addEllipseGaugeGeom(StiRectangle rect,
                                StiBrush background,
                                StiBrush borderBrush,
                                double borderWidth)

addGraphicsArcGeometryGaugeGeom

public void addGraphicsArcGeometryGaugeGeom(StiRectangle rect,
                                            StiBrush background,
                                            StiBrush borderBrush,
                                            double borderWidth,
                                            double startAngle,
                                            double sweepAngle,
                                            double startWidth,
                                            double endWidth)

addPopTranformGaugeGeom

public void addPopTranformGaugeGeom()

addPushMatrixGaugeGeom

public void addPushMatrixGaugeGeom(double angle,
                                   StiPoint centerPoint)

addRadialRangeGaugeGeom

public void addRadialRangeGaugeGeom(StiRectangle rect,
                                    StiBrush background,
                                    StiBrush borderBrush,
                                    double borderWidth,
                                    StiPoint centerPoint,
                                    double startAngle,
                                    double sweepAngle,
                                    double radius1,
                                    double radius2,
                                    double radius3,
                                    double radius4)

addRectangleGaugeGeom

public void addRectangleGaugeGeom(StiRectangle rect,
                                  StiBrush background,
                                  StiBrush borderBrush,
                                  double borderWidth)

addRoundedRectangleGaugeGeom

public void addRoundedRectangleGaugeGeom(StiRectangle rect,
                                         StiBrush background,
                                         StiBrush borderBrush,
                                         double borderWidth,
                                         int leftTop,
                                         int rightTop,
                                         int rightBottom,
                                         int leftBottom)

addTextGaugeGeom

public void addTextGaugeGeom(java.lang.String text,
                             StiFont font,
                             StiBrush foreground,
                             StiRectangle rect,
                             StringFormat sf)

addGraphicsPathGaugeGeom

public void addGraphicsPathGaugeGeom(StiGraphicsPathGaugeGeom geom)

render

public abstract void render()