C# Класс CSReportPaint.cReportPaint

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

alingObjBottomToGrid() публичный Метод

public alingObjBottomToGrid ( String sKey ) : void
sKey String
Результат void

alingObjLeftBottomToGrid() публичный Метод

public alingObjLeftBottomToGrid ( String sKey ) : void
sKey String
Результат void

alingObjLeftToGrid() публичный Метод

public alingObjLeftToGrid ( String sKey ) : void
sKey String
Результат void

alingObjLeftTopToGrid() публичный Метод

public alingObjLeftTopToGrid ( String sKey ) : void
sKey String
Результат void

alingObjRightBottomToGrid() публичный Метод

public alingObjRightBottomToGrid ( String sKey ) : void
sKey String
Результат void

alingObjRightToGrid() публичный Метод

public alingObjRightToGrid ( String sKey ) : void
sKey String
Результат void

alingObjRightTopToGrid() публичный Метод

public alingObjRightTopToGrid ( String sKey ) : void
sKey String
Результат void

alingObjTopToGrid() публичный Метод

public alingObjTopToGrid ( String sKey ) : void
sKey String
Результат void

alingToGrid() публичный Метод

public alingToGrid ( String sKey ) : void
sKey String
Результат void

beginMove() публичный Метод

public beginMove ( ) : void
Результат void

cReportPaint() публичный Метод

public cReportPaint ( ) : System
Результат System

clearPage() публичный Метод

public clearPage ( object graph ) : void
graph object
Результат void

createBackgroundBitmap() публичный Метод

public createBackgroundBitmap ( Graphics graph ) : void
graph System.Drawing.Graphics
Результат void

createPicture() публичный Метод

public createPicture ( Graphics graph ) : void
graph System.Drawing.Graphics
Результат void

drawObject() публичный Метод

public drawObject ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
Результат bool

drawRule() публичный Метод

public drawRule ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
Результат bool

drawSection() публичный Метод

public drawSection ( String key, Graphics graph ) : bool
key String
graph System.Drawing.Graphics
Результат bool

endMove() публичный Метод

public endMove ( Graphics graph ) : void
graph System.Drawing.Graphics
Результат void

getBitmap() публичный Метод

public getBitmap ( ) : Image
Результат Image

getNewObject() публичный Метод

public getNewObject ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
paintTypeObject csRptPaintObjType
Результат cReportPaintObject

getNewSection() публичный Метод

public getNewSection ( csRptPaintObjType paintTypeObject ) : cReportPaintObject
paintTypeObject csRptPaintObjType
Результат cReportPaintObject

getPaintObject() публичный Метод

public getPaintObject ( String sKey ) : cReportPaintObject
sKey String
Результат cReportPaintObject

getPaintObjectForTag() публичный Метод

public getPaintObjectForTag ( String tag ) : cReportPaintObject
tag String
Результат cReportPaintObject

getPaintObjects() публичный Метод

public getPaintObjects ( ) : cReportPaintObjects
Результат cReportPaintObjects

getPaintSectionForTag() публичный Метод

public getPaintSectionForTag ( String tag ) : cReportPaintObject
tag String
Результат cReportPaintObject

getPaintSections() публичный Метод

public getPaintSections ( ) : cReportPaintObjects
Результат cReportPaintObjects

initGrid() публичный Метод

public initGrid ( Graphics picGrid, csETypeGrid typeGrid ) : void
picGrid System.Drawing.Graphics
typeGrid csETypeGrid
Результат void

moveHorizontal() публичный Метод

public moveHorizontal ( String sKey, float x, Graphics graph ) : void
sKey String
x float
graph Graphics
Результат void

moveObjToXY() публичный Метод

public moveObjToXY ( String sKey, float x, float y, Graphics graph ) : void
sKey String
x float
y float
graph Graphics
Результат void

moveObjToXYEx() публичный Метод

public moveObjToXYEx ( String sKey, float x, float y, Graphics graph, bool clear ) : void
sKey String
x float
y float
graph Graphics
clear bool
Результат void

moveVertical() публичный Метод

public moveVertical ( String sKey, float y, Graphics graph ) : void
sKey String
y float
graph Graphics
Результат void

paintObjIsSection() публичный Метод

public paintObjIsSection ( String sKey ) : bool
sKey String
Результат bool

paintPicture() публичный Метод

public paintPicture ( Graphics graph, bool disposeGraphicObject ) : void
graph Graphics
disposeGraphicObject bool
Результат void

pointIsInObject() публичный Метод

public pointIsInObject ( float x, float y, String &sKey ) : bool
x float
y float
sKey String
Результат bool

pointIsInObject() публичный Метод

public pointIsInObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
x float
y float
sKey String
regionType csRptPaintRegionType
Результат bool

pointIsInThisObject() публичный Метод

public pointIsInThisObject ( float x, float y, String &sKey, csRptPaintRegionType &regionType ) : bool
x float
y float
sKey String
regionType csRptPaintRegionType
Результат bool

refreshObject() публичный Метод

public refreshObject ( String key, Graphics graph ) : bool
key String
graph Graphics
Результат bool

removeFromSelected() публичный Метод

public removeFromSelected ( String sKey, Graphics graph ) : void
sKey String
graph Graphics
Результат void

resize() публичный Метод

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
Результат void

setFocus() публичный Метод

public setFocus ( String sKey, Graphics graph, bool clearSelected ) : void
sKey String
graph Graphics
clearSelected bool
Результат void

setGridHeight() публичный Метод

public setGridHeight ( float rhs ) : void
rhs float
Результат void