示例#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);
 }