3 #define draw_fontscale drawfontscale
9 void draw_reset(float cw, float ch, float ox, float oy);
10 void draw_beginBoldFont();
11 void draw_endBoldFont();
12 void draw_setMousePointer(string pic, vector theSize, vector theOffset);
13 void draw_drawMousePointer(vector where);
15 string draw_PreloadPicture(string pic);
16 string draw_PreloadPictureWithFlags(string pic, float f);
17 void draw_ButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
18 void draw_VertButtonPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha);
19 void draw_BorderPicture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha, vector theBorderSize);
20 void draw_Picture(vector origin, string pic, vector size, vector color, float alpha);
21 vector draw_PictureSize(string pic);
22 void draw_Fill(vector theOrigin, vector theSize, vector theColor, float theAlpha);
23 void draw_Text(vector origin, string text, vector size, vector color, float alpha, float allowColorCodes);
24 void draw_CenterText(vector origin, string text, vector size, vector color, float alpha, float allowColorCodes);
25 float draw_TextWidth(string text, float allowColorCodes, vector size);
26 float draw_CondensedFontFactor(string theText, float ICanHasKallerz, vector SizeThxBye, float maxWidth);
27 string draw_TextShortenToWidth(string text, float maxWidth, float allowColorCodes, vector size);
28 float draw_TextLengthUpToWidth(string text, float maxWidth, float allowColorCodes, vector size);
31 void draw_SetClipRect(vector theOrigin, vector theScale);
32 void draw_ClearClip();
34 vector boxToGlobal(vector v, vector shift, vector scale);
35 vector boxToGlobalSize(vector v, vector scale);
36 vector globalToBox(vector v, vector shift, vector scale);
37 vector globalToBoxSize(vector v, vector scale);
39 float draw_TextWidth_WithColors(string s, vector size);
40 float draw_TextWidth_WithoutColors(string s, vector size);