C# Class CSReportPaint.cReportPaint

Show file Open project: javiercrowsoft/CSReports.net Class Usage Examples

Public Methods

Method Description
alingObjBottomToGrid ( String sKey ) : void
alingObjLeftBottomToGrid ( String sKey ) : void
alingObjLeftToGrid ( String sKey ) : void
alingObjLeftTopToGrid ( String sKey ) : void
alingObjRightBottomToGrid ( String sKey ) : void
alingObjRightToGrid ( String sKey ) : void
alingObjRightTopToGrid ( String sKey ) : void
alingObjTopToGrid ( String sKey ) : void
alingToGrid ( String sKey ) : void
beginMove ( ) : void
cReportPaint ( ) : System
clearPage ( object graph ) : void
createBackgroundBitmap ( Graphics graph ) : void
createPicture ( Graphics graph ) : void
drawObject ( String key, Graphics graph ) : bool
drawRule ( String key, Graphics graph ) : bool
drawSection ( String key, Graphics graph ) : bool
endMove ( Graphics graph ) : void
getBitmap ( ) : Image
getNewObject ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
getNewSection ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
getPaintObject ( String sKey ) : cReportPaintObject
getPaintObjectForTag ( String tag ) : cReportPaintObject
getPaintObjects ( ) : cReportPaintObjects
getPaintSectionForTag ( String tag ) : cReportPaintObject
getPaintSections ( ) : cReportPaintObjects
initGrid ( Graphics picGrid, csETypeGrid typeGrid ) : void
moveHorizontal ( String sKey, float x, Graphics graph ) : void
moveObjToXY ( String sKey, float x, float y, Graphics graph ) : void
moveObjToXYEx ( String sKey, float x, float y, Graphics graph, bool clear ) : void
moveVertical ( String sKey, float y, Graphics graph ) : void
paintObjIsSection ( String sKey ) : bool
paintPicture ( Graphics graph, bool disposeGraphicObject ) : void
pointIsInObject ( float x, float y, String &sKey ) : bool
pointIsInObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
pointIsInThisObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
refreshObject ( String key, Graphics graph ) : bool
removeFromSelected ( String sKey, Graphics graph ) : void
resize ( Graphics graph, String sKey, float left, float top, float x2, float y2 ) : void
setFocus ( String sKey, Graphics graph, bool clearSelected ) : void
setGridHeight ( float rhs ) : void

Private Methods

Method Description
alingObjToGrid ( String sKey, bool toLeft, bool toTop, bool toBottom, bool toRight, bool resizing ) : void
draw ( cReportPaintObjects collObjs, String key, Graphics graph ) : bool
drawBMP ( Graphics graph, Image image, float x, float y, int bmpWidth, int bmpHeight, float destWidth, float destHeight ) : void
getKey ( ) : String
getKeyPaintObj ( ) : String
getKeyPaintSec ( ) : String
getNotBorder ( ) : bool
getPlEvaluateTextHeight ( String text, Font font, float width, StringFormat format, float scaleY, float scaleX ) : int
getPlEvaluateTextWidth ( String text, Font font, float scaleX ) : int
getScaleX ( ) : float
getScaleY ( ) : float
getZoom ( ) : int
move ( float left, float top, float width, float height, Graphics graph ) : void
pAllreadySelected ( String sKey ) : bool
pClearObject ( String key, Graphics graph ) : void
pCreateBrushGrid ( Graphics graph, csETypeGrid typeGrid ) : void
pDrawObjBox ( Graphics graph, cReportAspect aspect, float x1, float y1, float x2, float y2, bool filled, int colorIn, int colorOut ) : void
paintPictureMove ( Graphics graph, RectangleF tR ) : void
pointIsInObjectAux ( cReportPaintObjects paintObjs, float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
pointIsInRegion ( float x1, float y1, float x2, float y2, float x, float y ) : bool
pointIsInThisObjectAux ( cReportPaintObject paintObj, float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
printLine ( Graphics graph, bool filled, float x1, float y1, float x2, float y2, int colorInside, int width, bool dash, int colorOut, bool rounded ) : void
printText ( Graphics graph, String sText, cReportAspect aspect, Image image ) : void
refreshBackgroundPicture ( Graphics graph, int color ) : void
regionIsInRegion ( float x1, float y1, float x2, float y2, float z1, float w1, float z2, float w2 ) : bool
setFocusAux ( String sKey, Graphics graph ) : void
setNotBorder ( bool rhs ) : void
setScaleX ( float rhs ) : void
setScaleY ( float rhs ) : void
setZoom ( int rhs ) : void
showHandle ( Graphics graph, Brush brush, Rectangle rect, bool circle ) : void
showHandles ( Graphics graph, int x1, int y1, int x2, int y2, int color, bool bCircle ) : void

Method Details

alingObjBottomToGrid() public method

public alingObjBottomToGrid ( String sKey ) : void
sKey String
return void

alingObjLeftBottomToGrid() public method

public alingObjLeftBottomToGrid ( String sKey ) : void
sKey String
return void

alingObjLeftToGrid() public method

public alingObjLeftToGrid ( String sKey ) : void
sKey String
return void

alingObjLeftTopToGrid() public method

public alingObjLeftTopToGrid ( String sKey ) : void
sKey String
return void

alingObjRightBottomToGrid() public method

public alingObjRightBottomToGrid ( String sKey ) : void
sKey String
return void

alingObjRightToGrid() public method

public alingObjRightToGrid ( String sKey ) : void
sKey String
return void

alingObjRightTopToGrid() public method

public alingObjRightTopToGrid ( String sKey ) : void
sKey String
return void

alingObjTopToGrid() public method

public alingObjTopToGrid ( String sKey ) : void
sKey String
return void

alingToGrid() public method

public alingToGrid ( String sKey ) : void
sKey String
return void

beginMove() public method

public beginMove ( ) : void
return void

cReportPaint() public method

public cReportPaint ( ) : System
return System

clearPage() public method

public clearPage ( object graph ) : void
graph object
return void

createBackgroundBitmap() public method

public createBackgroundBitmap ( Graphics graph ) : void
graph System.Drawing.Graphics
return void

createPicture() public method

public createPicture ( Graphics graph ) : void
graph System.Drawing.Graphics
return void

drawObject() public method

public drawObject ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
return bool

drawRule() public method

public drawRule ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
return bool

drawSection() public method

public drawSection ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
return bool

endMove() public method

public endMove ( Graphics graph ) : void
graph System.Drawing.Graphics
return void

getBitmap() public method

public getBitmap ( ) : Image
return Image

getNewObject() public method

public getNewObject ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
paintTypeObject csRptPaintObjType
return cReportPaintObject

getNewSection() public method

public getNewSection ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
paintTypeObject csRptPaintObjType
return cReportPaintObject

getPaintObject() public method

public getPaintObject ( String sKey ) : cReportPaintObject
sKey String
return cReportPaintObject

getPaintObjectForTag() public method

public getPaintObjectForTag ( String tag ) : cReportPaintObject
tag String
return cReportPaintObject

getPaintObjects() public method

public getPaintObjects ( ) : cReportPaintObjects
return cReportPaintObjects

getPaintSectionForTag() public method

public getPaintSectionForTag ( String tag ) : cReportPaintObject
tag String
return cReportPaintObject

getPaintSections() public method

public getPaintSections ( ) : cReportPaintObjects
return cReportPaintObjects

initGrid() public method

public initGrid ( Graphics picGrid, csETypeGrid typeGrid ) : void
picGrid System.Drawing.Graphics
typeGrid csETypeGrid
return void

moveHorizontal() public method

public moveHorizontal ( String sKey, float x, Graphics graph ) : void
sKey String
x float
graph Graphics
return void

moveObjToXY() public method

public moveObjToXY ( String sKey, float x, float y, Graphics graph ) : void
sKey String
x float
y float
graph Graphics
return void

moveObjToXYEx() public method

public moveObjToXYEx ( String sKey, float x, float y, Graphics graph, bool clear ) : void
sKey String
x float
y float
graph Graphics
clear bool
return void

moveVertical() public method

public moveVertical ( String sKey, float y, Graphics graph ) : void
sKey String
y float
graph Graphics
return void

paintObjIsSection() public method

public paintObjIsSection ( String sKey ) : bool
sKey String
return bool

paintPicture() public method

public paintPicture ( Graphics graph, bool disposeGraphicObject ) : void
graph Graphics
disposeGraphicObject bool
return void

pointIsInObject() public method

public pointIsInObject ( float x, float y, String &sKey ) : bool
x float
y float
sKey String
return bool

pointIsInObject() public method

public pointIsInObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
x float
y float
sKey String
regionType csRptPaintRegionType
return bool

pointIsInThisObject() public method

public pointIsInThisObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
x float
y float
sKey String
regionType csRptPaintRegionType
return bool

refreshObject() public method

public refreshObject ( String key, Graphics graph ) : bool
key String
graph Graphics
return bool

removeFromSelected() public method

public removeFromSelected ( String sKey, Graphics graph ) : void
sKey String
graph Graphics
return void

resize() public method

public resize ( Graphics graph, String sKey, float left, float top, float x2, float y2 ) : void
graph Graphics
sKey String
left float
top float
x2 float
y2 float
return void

setFocus() public method

public setFocus ( String sKey, Graphics graph, bool clearSelected ) : void
sKey String
graph Graphics
clearSelected bool
return void

setGridHeight() public method

public setGridHeight ( float rhs ) : void
rhs float
return void