![]() |
|
Line Thickness - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Line Thickness (/thread-3157.html) Pages:
1
2
|
Line Thickness - The17thDoctor - 31-10-2019 It could be nice for functions like drawLine drawRectOutline drawCircle to have a thickness setting in order to get thicker lines. If that is possible could it be added onto the server please ? RE: Line Thickness - Red The Blue Color - 31-10-2019 You could use drawRect for thicker lines, or draw multiple lines, and you can draw smaller rectangular outlines to make it thicker RE: Line Thickness - The17thDoctor - 01-11-2019 (31-10-2019, 11:55 PM)Red The Blue Color Wrote: You could use drawRect for thicker lines, or draw multiple lines, and you can draw smaller rectangular outlines to make it thicker Indeed but that would always be useful to have it integrated into the original functions themselves. RE: Line Thickness - mariofludd - 01-11-2019 e2hasthishaha RE: Line Thickness - TheEnigma - 14-11-2019 i mean it'd be nice for the custom functions to be there for e2 RE: Line Thickness - mariofludd - 14-11-2019 E2 has this, the function is setting the size of said thing, I'm not sure how SF handles screens, but E2 it's something like egpSize() iirc RE: Line Thickness - Person8880 - 15-11-2019 I've added an optional parameter to:
Note that it's more costly to draw with thickness > 1, especially for circles. There are more efficient ways to do it than what I've implemented in the standard library so if you want the best performance, you've still got work to do.
RE: Line Thickness - The17thDoctor - 15-11-2019 Le big thank
RE: Line Thickness - The17thDoctor - 07-12-2019 Just found a bug related to that new feature, when drawing with thickness >1 with circles, they do not render correctly. RE: Line Thickness - Person8880 - 07-12-2019 (07-12-2019, 05:01 AM)The17thDoctor Wrote: Just found a bug related to that new feature, when drawing with thickness >1 with circles, they do not render correctly.Do you have a screenshot of the problem and/or code to reproduce it? Are you using a different texture to the default? |