C# 클래스 CardMaker.Card.DrawItem

파일 보기 프로젝트 열기: nhmkdev/cardmaker 1 사용 예제들

공개 메소드들

메소드 설명
DrawElement ( Graphics zGraphics, CardMaker.Card.Deck zDeck, ProjectLayoutElement zElement, ElementType eType, int nX, int nY, string sInput, bool bExport ) : void
DrawElementDebugBorder ( Graphics zGraphics, ProjectLayoutElement zElement, int nX, int nY, bool bSelected ) : void
DrawFormattedText ( Graphics zGraphics, CardMaker.Card.Deck zDeck, ProjectLayoutElement zElement, string sInput, Brush zBrush, Font zFont, Color colorFont ) : void
DrawOutline ( ProjectLayoutElement zElement, Graphics zGraphics, GraphicsPath zPath ) : void
DumpImages ( ) : void
DumpOpacityImages ( ) : void
GetElementType ( string sType ) : ElementType
LoadImageFromCache ( string sFile ) : Bitmap

비공개 메소드들

메소드 설명
DrawGraphic ( Graphics zGraphics, string sFile, ProjectLayoutElement zElement ) : void
DrawGraphicOriginalSize ( Graphics zGraphics, Bitmap zBmp, ProjectLayoutElement zElement ) : void

Draws the image cropped based on alignment. The image is always drawn in proper aspect by this method

DrawItem ( ) : System
DrawTextGraphics ( ) : System
DumpImagesFromDictionary ( Bitmap>.Dictionary dictionaryImages ) : void
LoadOpacityImageFromCache ( string sFile, ProjectLayoutElement zElement ) : Bitmap
UpdateAlignmentValue ( StringAlignment eAlignment, int &nResult, int nLarge, int nSmall ) : void

메소드 상세

DrawElement() 공개 정적인 메소드

public static DrawElement ( Graphics zGraphics, CardMaker.Card.Deck zDeck, ProjectLayoutElement zElement, ElementType eType, int nX, int nY, string sInput, bool bExport ) : void
zGraphics System.Drawing.Graphics
zDeck CardMaker.Card.Deck
zElement CardMaker.XML.ProjectLayoutElement
eType ElementType
nX int
nY int
sInput string
bExport bool
리턴 void

DrawElementDebugBorder() 공개 정적인 메소드

public static DrawElementDebugBorder ( Graphics zGraphics, ProjectLayoutElement zElement, int nX, int nY, bool bSelected ) : void
zGraphics System.Drawing.Graphics
zElement CardMaker.XML.ProjectLayoutElement
nX int
nY int
bSelected bool
리턴 void

DrawFormattedText() 공개 정적인 메소드

public static DrawFormattedText ( Graphics zGraphics, CardMaker.Card.Deck zDeck, ProjectLayoutElement zElement, string sInput, Brush zBrush, Font zFont, Color colorFont ) : void
zGraphics System.Drawing.Graphics
zDeck CardMaker.Card.Deck
zElement CardMaker.XML.ProjectLayoutElement
sInput string
zBrush System.Drawing.Brush
zFont System.Drawing.Font
colorFont Color
리턴 void

DrawOutline() 공개 정적인 메소드

public static DrawOutline ( ProjectLayoutElement zElement, Graphics zGraphics, GraphicsPath zPath ) : void
zElement CardMaker.XML.ProjectLayoutElement
zGraphics System.Drawing.Graphics
zPath GraphicsPath
리턴 void

DumpImages() 공개 정적인 메소드

public static DumpImages ( ) : void
리턴 void

DumpOpacityImages() 공개 정적인 메소드

public static DumpOpacityImages ( ) : void
리턴 void

GetElementType() 공개 정적인 메소드

public static GetElementType ( string sType ) : ElementType
sType string
리턴 ElementType

LoadImageFromCache() 공개 정적인 메소드

public static LoadImageFromCache ( string sFile ) : Bitmap
sFile string
리턴 System.Drawing.Bitmap