C# 클래스 gbrainy.Core.Libraries.CairoContext

상속: Cairo.Context
파일 보기 프로젝트 열기: GNOME/gbrainy

공개 메소드들

메소드 설명
CairoContext ( Cairo s, string font, int dpis ) : System
CairoContext ( IntPtr handle ) : System
DrawImage ( SVGImage image, double x, double y, double width, double height ) : void
DrawImageFromAssembly ( string resource, double x, double y, double width, double height ) : void
DrawImageFromFile ( string filename, double x, double y, double width, double height ) : void
DrawStringWithWrapping ( double x, double y, string str, double max_width ) : void
DrawTextAlignedRight ( double x, double y, string str ) : void
DrawTextCentered ( double x, double y, string str ) : void
FillGradient ( double x, double y, double w, double h, Cairo color ) : void
MeasureString ( string str, double max_width, bool wrapping, double &width, double &height ) : void
SetPangoFontSize ( double size ) : void
ShowPangoText ( string str ) : void
ShowPangoText ( string str, bool bold, double width, double rotation ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
SetText ( string text ) : void
UpdateFontSize ( ) : void

메소드 상세

CairoContext() 공개 메소드

public CairoContext ( Cairo s, string font, int dpis ) : System
s Cairo
font string
dpis int
리턴 System

CairoContext() 공개 메소드

public CairoContext ( IntPtr handle ) : System
handle System.IntPtr
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DrawImage() 공개 메소드

public DrawImage ( SVGImage image, double x, double y, double width, double height ) : void
image SVGImage
x double
y double
width double
height double
리턴 void

DrawImageFromAssembly() 공개 메소드

public DrawImageFromAssembly ( string resource, double x, double y, double width, double height ) : void
resource string
x double
y double
width double
height double
리턴 void

DrawImageFromFile() 공개 메소드

public DrawImageFromFile ( string filename, double x, double y, double width, double height ) : void
filename string
x double
y double
width double
height double
리턴 void

DrawStringWithWrapping() 공개 메소드

public DrawStringWithWrapping ( double x, double y, string str, double max_width ) : void
x double
y double
str string
max_width double
리턴 void

DrawTextAlignedRight() 공개 메소드

public DrawTextAlignedRight ( double x, double y, string str ) : void
x double
y double
str string
리턴 void

DrawTextCentered() 공개 메소드

public DrawTextCentered ( double x, double y, string str ) : void
x double
y double
str string
리턴 void

FillGradient() 공개 메소드

public FillGradient ( double x, double y, double w, double h, Cairo color ) : void
x double
y double
w double
h double
color Cairo
리턴 void

MeasureString() 공개 메소드

public MeasureString ( string str, double max_width, bool wrapping, double &width, double &height ) : void
str string
max_width double
wrapping bool
width double
height double
리턴 void

SetPangoFontSize() 공개 메소드

public SetPangoFontSize ( double size ) : void
size double
리턴 void

ShowPangoText() 공개 메소드

public ShowPangoText ( string str ) : void
str string
리턴 void

ShowPangoText() 공개 메소드

public ShowPangoText ( string str, bool bold, double width, double rotation ) : void
str string
bold bool
width double
rotation double
리턴 void