コード例 #1
0
ファイル: CDraw.cs プロジェクト: da-ka/Vocaluxe
 /// <summary>
 ///     Draws a texture at the given position with the given color
 /// </summary>
 /// <param name="textureRef"></param>
 /// <param name="rect"></param>
 /// <param name="color"></param>
 /// <param name="mirrored">True to mirror the texture on the y axis</param>
 /// <param name="allMonitors">Render on all monitors</param>
 public static void DrawTexture(CTextureRef textureRef, SRectF rect, SColorF color, bool mirrored = false, bool allMonitors = true)
 {
     _Draw.DrawTexture(textureRef, rect, color, mirrored, allMonitors);
 }
コード例 #2
0
 public static void DrawTexture(STexture Texture)
 {
     _Draw.DrawTexture(Texture);
 }
コード例 #3
0
 /// <summary>
 ///     Draws a texture at the given position with the given color
 /// </summary>
 /// <param name="textureRef"></param>
 /// <param name="rect"></param>
 /// <param name="color"></param>
 /// <param name="mirrored">True to mirror the texture on the y axis</param>
 public static void DrawTexture(CTextureRef textureRef, SRectF rect, SColorF color, bool mirrored = false)
 {
     _Draw.DrawTexture(textureRef, rect, color, mirrored);
 }