void stroke(int rgb, float alpha) { m_strokeColor.setHex(rgb, alpha); m_hasStroke = true; if( m_inSetup ) m_defaultStrokeColor = m_strokeColor; }
void fill(int rgb, float alpha) { m_hasFill = true; if( rgb > 255 ) m_fillColor.setHex(rgb, alpha); else m_fillColor.set(rgb, alpha); if( m_inSetup ) m_defaultFillColor = m_fillColor; }