Using colors
When setting colors, there are two considerations

The stroke color is the "outside" edge of the drawing associated with pdf_stroke(), while the fill color is the "inside" of the drawing associated with pdf_fill_stroke().