![]() ![]() Sets the clipping rectangle to restrict further drawing to the region Static void SetClipRect(int x, int y, int w, int h) To specify the translucency in a range of 0-1 inclusive. Does not support translucent colors, but amount may be used ![]() Static void Dim(color cr, double amount, int x, int y, int w, int h)ĭraws a rectangle at x y of w h size in screen coordinates of crĬolor. Or -1 for automatic conversion from the given RGB color. PalColor is a palette index to use as a color in paletted renderers Static void Clear(int left, int top, int right, int bottom, color cr, int palColor = -1)ĭraws a rectangle from top left to bottom right in screenĬoordinates of cr color. Static void DrawThickLine(int x0, int y0, int x1, int y1, double thickness, color cr, int alpha = 255)ĭraws a thickness pixel wide line from x0 y0 to x1 y1 in screen ![]() Static void DrawLine(int x0, int y0, int x1, int y1, color cr, int alpha = 255)ĭraws a one pixel wide line from x0 y0 to x1 y1 in screenĬoordinates of color cr with alpha alpha (range 0-255.) Static void DrawFrame(int x, int y, int w, int h)ĭraws a frame around a rectangle at x y of w h size in screenĬoordinates, using the border graphics as defined in MAPINFO See DrawTextureTags for information on the available )ĭraws texture tex, possibly animated by the animation ticker ifĪnimate is true, at horizontal position x and vertical position Static varArg void DrawTexture(textureId tex, bool animate, double x, double y. Static varArg void DrawText( Font font, int cr, double x, double y, string text. Static varArg void DrawShape(textureId tex, bool animate, Shape2D s. The output color may be modified by the font The same as DrawTexture, but draws the texture of character codeĬharacter from font. Static varArg void DrawChar( Font font, int cr, double x, double y, int character. These functions may only be called in a drawing function, or they willĮither crash the game with an exception, or have no result. Alternate palette index parameters are generally ignored Note: There are no longer any fully paletted renderers in GZDoom as of Screen Show declaration struct Screen clearScope įunctions for drawing various things to the screen. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |