MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / SetLineColour

Method SetLineColour

src/gl_wrap.cpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void OpenGLWrapper::SetLineColour(wxColour col, float alpha, int width) {
248 line_r = col.Red() / 255.f;
249 line_g = col.Green() / 255.f;
250 line_b = col.Blue() / 255.f;
251 line_a = alpha;
252 line_width = width;
253}
254
255void OpenGLWrapper::SetFillColour(wxColour col, float alpha) {
256 fill_r = col.Red() / 255.f;

Callers 9

DrawOverscanMaskMethod · 0.80
DrawAllFeaturesMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected