C# 클래스 MissionPlanner.Controls.HUD

상속: OpenTK.GLControl
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CustomItems System.Collections.Hashtable
HoldInvalidation bool
SixteenXNine bool
huddrawtime int
objBitmap Bitmap
streamjpgenable bool

Private Properties

프로퍼티 타입 설명
Clear void
GetImageCodec System.Drawing.Imaging.ImageCodecInfo
doPaint void
drawstring void
drawstring void
wrap360 float

공개 메소드들

메소드 설명
DrawArc ( Pen penn, RectangleF rect, float start, float degrees ) : void
DrawEllipse ( Pen penn, Rectangle rect ) : void
DrawImage ( Image img, int x, int y, int width, int height ) : void
DrawLine ( Pen penn, double x1, double y1, double x2, double y2 ) : void
DrawPath ( Pen penn, GraphicsPath gp ) : void
DrawPolygon ( Pen penn, Point list ) : void
DrawPolygon ( Pen penn, PointF list ) : void
DrawRectangle ( Pen penn, RectangleF rect ) : void
DrawRectangle ( Pen penn, double x1, double y1, double width, double height ) : void
FillPath ( Brush brushh, GraphicsPath gp ) : void
FillPolygon ( Brush brushh, Point list ) : void
FillPolygon ( Brush brushh, PointF list ) : void
FillRectangle ( Brush brushh, RectangleF rectf ) : void
GrabScreenshot ( ) : Bitmap
HUD ( ) : System
Invalidate ( ) : void

Override to prevent offscreen drawing the control - mono mac

Refresh ( ) : void
ResetClip ( ) : void
ResetTransform ( ) : void
ResizeImage ( Image image, int width, int height ) : Bitmap
RotateTransform ( float angle ) : void
SetClip ( Rectangle rect ) : void
ThisReallyVisible ( ) : bool

this is to fix a mono off screen drawing issue

TranslateTransform ( float x, float y ) : void
doResize ( ) : void

보호된 메소드들

메소드 설명
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

비공개 메소드들

메소드 설명
Clear ( Color color ) : void
GetImageCodec ( string mimetype ) : System.Drawing.Imaging.ImageCodecInfo
doPaint ( PaintEventArgs e ) : void
drawstring ( Graphics e, string text, Font font, float fontsize, SolidBrush brush, float x, float y ) : void
drawstring ( HUD e, string text, Font font, float fontsize, SolidBrush brush, float x, float y ) : void
wrap360 ( float noin ) : float

메소드 상세

DrawArc() 공개 메소드

public DrawArc ( Pen penn, RectangleF rect, float start, float degrees ) : void
penn System.Drawing.Pen
rect System.Drawing.RectangleF
start float
degrees float
리턴 void

DrawEllipse() 공개 메소드

public DrawEllipse ( Pen penn, Rectangle rect ) : void
penn System.Drawing.Pen
rect System.Drawing.Rectangle
리턴 void

DrawImage() 공개 메소드

public DrawImage ( Image img, int x, int y, int width, int height ) : void
img Image
x int
y int
width int
height int
리턴 void

DrawLine() 공개 메소드

public DrawLine ( Pen penn, double x1, double y1, double x2, double y2 ) : void
penn System.Drawing.Pen
x1 double
y1 double
x2 double
y2 double
리턴 void

DrawPath() 공개 메소드

public DrawPath ( Pen penn, GraphicsPath gp ) : void
penn System.Drawing.Pen
gp System.Drawing.Drawing2D.GraphicsPath
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( Pen penn, Point list ) : void
penn System.Drawing.Pen
list Point
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( Pen penn, PointF list ) : void
penn System.Drawing.Pen
list System.Drawing.PointF
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Pen penn, RectangleF rect ) : void
penn System.Drawing.Pen
rect System.Drawing.RectangleF
리턴 void

DrawRectangle() 공개 메소드

public DrawRectangle ( Pen penn, double x1, double y1, double width, double height ) : void
penn System.Drawing.Pen
x1 double
y1 double
width double
height double
리턴 void

FillPath() 공개 메소드

public FillPath ( Brush brushh, GraphicsPath gp ) : void
brushh System.Drawing.Brush
gp System.Drawing.Drawing2D.GraphicsPath
리턴 void

FillPolygon() 공개 메소드

public FillPolygon ( Brush brushh, Point list ) : void
brushh System.Drawing.Brush
list Point
리턴 void

FillPolygon() 공개 메소드

public FillPolygon ( Brush brushh, PointF list ) : void
brushh System.Drawing.Brush
list System.Drawing.PointF
리턴 void

FillRectangle() 공개 메소드

public FillRectangle ( Brush brushh, RectangleF rectf ) : void
brushh System.Drawing.Brush
rectf System.Drawing.RectangleF
리턴 void

GrabScreenshot() 공개 메소드

public GrabScreenshot ( ) : Bitmap
리턴 System.Drawing.Bitmap

HUD() 공개 메소드

public HUD ( ) : System
리턴 System

Invalidate() 공개 메소드

Override to prevent offscreen drawing the control - mono mac
public Invalidate ( ) : void
리턴 void

OnHandleCreated() 보호된 메소드

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnHandleDestroyed() 보호된 메소드

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseClick() 보호된 메소드

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

ResetClip() 공개 메소드

public ResetClip ( ) : void
리턴 void

ResetTransform() 공개 메소드

public ResetTransform ( ) : void
리턴 void

ResizeImage() 공개 정적인 메소드

public static ResizeImage ( Image image, int width, int height ) : Bitmap
image Image
width int
height int
리턴 System.Drawing.Bitmap

RotateTransform() 공개 메소드

public RotateTransform ( float angle ) : void
angle float
리턴 void

SetClip() 공개 메소드

public SetClip ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

ThisReallyVisible() 공개 메소드

this is to fix a mono off screen drawing issue
public ThisReallyVisible ( ) : bool
리턴 bool

TranslateTransform() 공개 메소드

public TranslateTransform ( float x, float y ) : void
x float
y float
리턴 void

doResize() 공개 메소드

public doResize ( ) : void
리턴 void

프로퍼티 상세

CustomItems 공개적으로 프로퍼티

public Hashtable,System.Collections CustomItems
리턴 System.Collections.Hashtable

HoldInvalidation 공개적으로 프로퍼티

public bool HoldInvalidation
리턴 bool

SixteenXNine 공개적으로 프로퍼티

public bool SixteenXNine
리턴 bool

huddrawtime 공개적으로 프로퍼티

public int huddrawtime
리턴 int

objBitmap 공개적으로 프로퍼티

public Bitmap objBitmap
리턴 Bitmap

streamjpgenable 공개적으로 프로퍼티

this is to reduce cpu usage
public bool streamjpgenable
리턴 bool