- }
-
- // Set the outline pixels
- ColourDesired cdo(outline.AsLong());
- red = cdo.GetRed();
- green = cdo.GetGreen();
- blue = cdo.GetBlue();
- for (x=0; x<r.width; x++) {
- p.MoveTo(pixData, x, 0);
- p.Red() = wxPy_premultiply(red, alphaOutline);
- p.Green() = wxPy_premultiply(green, alphaOutline);
- p.Blue() = wxPy_premultiply(blue, alphaOutline);
- p.Alpha() = alphaOutline;
- p.MoveTo(pixData, x, r.height-1);
- p.Red() = wxPy_premultiply(red, alphaOutline);
- p.Green() = wxPy_premultiply(green, alphaOutline);
- p.Blue() = wxPy_premultiply(blue, alphaOutline);
- p.Alpha() = alphaOutline;
- }