OldSchoolHack GUI
Öffentliche Methoden | Aufstellung aller Elemente
OSHGui::Drawing::RendererDX11 Klassenreferenz
Klassendiagramm für OSHGui::Drawing::RendererDX11:
Inheritance graph
[Legende]
Zusammengehörigkeiten von OSHGui::Drawing::RendererDX11:
Collaboration graph
[Legende]

Öffentliche Methoden

 RendererDX11 (ID3D11Device *device)
 
void RenderTexture (const Drawing::Point &point, Drawing::ITexture *texture)
 
virtual void RenderTexture (int x, int y, Drawing::ITexture *texture)
 
virtual Size MeasureText (IFont *font, const Misc::UnicodeString &text)
 
virtual void RenderText (IFont *font, const Point &point, const Misc::UnicodeString &text)
 
virtual void RenderText (IFont *font, int x, int y, const Misc::UnicodeString &text)
 
virtual void RenderText (IFont *font, Rectangle &rect, const Misc::UnicodeString &text)
 
virtual void RenderText (IFont *font, int x, int y, int w, int h, const Misc::UnicodeString &text)
 
virtual void Fill (const Point &point)
 
virtual void Fill (int x, int y)
 
virtual void Fill (Rectangle &rect)
 
virtual void Fill (int x, int y, int w, int h)
 
virtual void FillGradient (const Point &point, Color &to)
 
virtual void FillGradient (int x, int y, Color &to)
 
virtual void FillGradient (Rectangle &rect, Color &to)
 
virtual void FillGradient (int x, int y, int w, int h, Color &to)
 
- Öffentliche Methoden geerbt von OSHGui::Drawing::IRenderer
virtual void Begin ()=0
 
virtual void End ()=0
 
virtual const std::shared_ptr
< ITexture
CreateNewTexture (const Size &size, int frameCount=1, Misc::TimeSpan frameChangeInterval=Misc::TimeSpan::FromMilliseconds(125))=0
 
virtual const std::shared_ptr
< ITexture
CreateNewTexture (int width, int height, int frameCount=1, Misc::TimeSpan frameChangeInterval=Misc::TimeSpan::FromMilliseconds(125))=0
 
virtual const std::shared_ptr
< ITexture
CreateNewTexture (const Misc::AnsiString &filename)=0
 
virtual const std::shared_ptr
< IFont
CreateNewFont (const Misc::AnsiString &fontName, int size, bool bold, bool italic)=0
 
std::shared_ptr< IFontGetDefaultFont () const
 
virtual void SetRenderColor (Color color)
 
virtual Color GetRenderColor () const
 
virtual void SetRenderRectangle (const Rectangle &rect)
 
virtual const RectangleGetRenderRectangle () const
 
virtual const Size GetRenderDimension () const =0
 
virtual void RenderTexture (const std::shared_ptr< ITexture > &texture, const Point &point)
 
virtual void RenderTexture (const std::shared_ptr< ITexture > &texture, int x, int y)
 
virtual void RenderTexture (const std::shared_ptr< ITexture > &texture, const Point &point, const Size &size)
 
virtual void RenderTexture (const std::shared_ptr< ITexture > &texture, const Rectangle &rect)
 
virtual void RenderTexture (const std::shared_ptr< ITexture > &texture, int x, int y, int w, int h)=0
 
virtual Size MeasureText (const std::shared_ptr< IFont > &font, const Misc::AnsiString &text)
 
virtual void RenderText (const std::shared_ptr< IFont > &font, const Point &location, const Misc::AnsiString &text)
 
virtual void RenderText (const std::shared_ptr< IFont > &font, int x, int y, const Misc::AnsiString &text)
 
virtual void RenderText (const std::shared_ptr< IFont > &font, const Point &location, const Size &size, const Misc::AnsiString &text)
 
virtual void RenderText (const std::shared_ptr< IFont > &font, const Rectangle &rect, const Misc::AnsiString &text)
 
virtual void RenderText (const std::shared_ptr< IFont > &font, int x, int y, int w, int h, const Misc::AnsiString &text)=0
 
virtual void Fill (const Point &location, const Size &size)
 
virtual void Fill (const Rectangle &rect)
 
virtual void FillGradient (const Rectangle &rect, Color to)
 
virtual void FillGradient (const Point &point, const Size &size, Color to)
 
virtual void FillGradient (int x, int y, int w, int h, Color to)=0
 
virtual void BeginLines ()=0
 
virtual void RenderLine (const Point &from, const Point &to)
 
virtual void RenderLine (int x1, int y1, int x2, int y2)=0
 
virtual void EndLines ()=0
 

Weitere Geerbte Elemente

- Geschützte Attribute geerbt von OSHGui::Drawing::IRenderer
Color color
 
Rectangle renderRect
 
std::shared_ptr< IFontdefaultFont
 

Dokumentation der Elementfunktionen

virtual void OSHGui::Drawing::RendererDX11::Fill ( const Point point)
virtual

Zeichnet ein 1x1 Pixel am entsprechenden Punkt.

Parameter
pointder Punkt

Erneute Implementation von OSHGui::Drawing::IRenderer.

virtual void OSHGui::Drawing::RendererDX11::Fill ( int  x,
int  y 
)
virtual

Zeichnet ein 1x1 Pixel am entsprechenden Punkt.

Parameter
x
y

Erneute Implementation von OSHGui::Drawing::IRenderer.

virtual void OSHGui::Drawing::RendererDX11::Fill ( int  x,
int  y,
int  w,
int  h 
)
virtual

Füllt das Rechteck.

Parameter
x
y
w
h

Implementiert OSHGui::Drawing::IRenderer.