Class MfDcState
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.MfDcState
- All Implemented Interfaces:
Cloneable
Track the state of the DeviceContext of a Windows metafile.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
int
int
int
int
int
int
int
int
getPhysicalX
(int logPointX) int
getPhysicalY
(int logPointY) int
int
getROP()
int
int
int
int
int
int
int
int
int
int
int
int
void
postDraw()
void
void
void
void
void
void
void
setBkColor
(Color bkColor) void
setBkMode
(int bkmode) void
setClipRegion
(Rectangle clipRegion) void
setCurPos
(int _curPosX, int _curPosY) void
setFgColor
(Color fgColor) void
setLogBrush
(MfLogBrush logBrush) void
setLogFont
(MfLogFont logFont) void
setLogPalette
(MfLogPalette logPalette) void
void
setLogRegion
(MfLogRegion logRegion) void
setMapMode
(int mapMode) void
setMapperFlag
(int mapperFlag) void
setPolyFillMode
(int mode) void
setROP
(int rop) void
setStretchBltMode
(int stretchBltMode) void
setTextAlign
(int textAlign) void
setTextCharExtra
(int textCharExtra) void
setTextColor
(Color textColor) void
setTextJustification
(int breakCount, int extraSpaceLength) void
setViewportExt
(int viewportExtX, int viewportExtY) void
setViewportOrg
(int viewportOrgX, int viewportOrgY) void
setWindowExt
(int windowExtX, int windowExtY) void
setWindowOrg
(int windowOrgX, int windowOrgY)
-
Constructor Details
-
MfDcState
-
MfDcState
-
-
Method Details
-
restoredState
public void restoredState() -
getClipRegion
-
setClipRegion
-
getBkMode
public int getBkMode() -
setBkMode
public void setBkMode(int bkmode) -
getBreakCount
public int getBreakCount() -
getExtraSpaceLength
public int getExtraSpaceLength() -
setTextJustification
public void setTextJustification(int breakCount, int extraSpaceLength) -
getStretchBltMode
public int getStretchBltMode() -
setStretchBltMode
public void setStretchBltMode(int stretchBltMode) -
getTextColor
-
setTextColor
-
getTextCharExtra
public int getTextCharExtra() -
setTextCharExtra
public void setTextCharExtra(int textCharExtra) -
getMapMode
public int getMapMode() -
setMapMode
public void setMapMode(int mapMode) -
getMapperFlag
public int getMapperFlag() -
setMapperFlag
public void setMapperFlag(int mapperFlag) -
getROP
public int getROP() -
setROP
public void setROP(int rop) -
getPolyFillMode
public int getPolyFillMode() -
setPolyFillMode
public void setPolyFillMode(int mode) -
setWindowOrg
public void setWindowOrg(int windowOrgX, int windowOrgY) -
getWindowOrgX
public int getWindowOrgX() -
getWindowOrgY
public int getWindowOrgY() -
setWindowExt
public void setWindowExt(int windowExtX, int windowExtY) -
getWindowExtX
public int getWindowExtX() -
getWindowExtY
public int getWindowExtY() -
setViewportOrg
public void setViewportOrg(int viewportOrgX, int viewportOrgY) -
getViewportOrgX
public int getViewportOrgX() -
getViewportOrgY
public int getViewportOrgY() -
setViewportExt
public void setViewportExt(int viewportExtX, int viewportExtY) -
getViewportExtX
public int getViewportExtX() -
getViewportExtY
public int getViewportExtY() -
setCurPos
public void setCurPos(int _curPosX, int _curPosY) -
getCurPosX
public int getCurPosX() -
getCurPosY
public int getCurPosY() -
getTextAlign
public int getTextAlign() -
setTextAlign
public void setTextAlign(int textAlign) -
setFgColor
-
setBkColor
-
getFgColor
-
getBkColor
-
getLogFont
-
getLogBrush
-
getLogPen
-
setLogFont
-
setLogBrush
-
setLogPen
-
setLogPalette
-
setLogRegion
-
getPhysicalX
public int getPhysicalX(int logPointX) -
getPhysicalY
public int getPhysicalY(int logPointY) -
prepareDraw
public void prepareDraw() -
postDraw
public void postDraw() -
prepareDrawText
public void prepareDrawText() -
postDrawText
public void postDrawText() -
preparePaint
public void preparePaint() -
postPaint
public void postPaint() -
getVerticalTextAlignment
public int getVerticalTextAlignment() -
getHorizontalTextAlignment
public int getHorizontalTextAlignment() -
getLogRegion
-
getLogPalette
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-