Skip navigation
albert_123
Currently Being Moderated

Fill and stroke a rectangle

Jan 12, 2012 6:14 AM

Tags: #fill #stroke #operator

Hello.

When I write the following text, adobe reader displays a red rectangle with a black border.

 

10 w

100 100 200 150 re

1 0 0 rg   %red fill

0 0 0 RG   %black stroke


but when i use operators f and S the red rectangle is displayed without the border.

 

10 w

100 100 200 150 re

1 0 0 rg  %red fill

f

0 0 0 RG  %black stroke

S


 

From a pdf reader perspective why in the second example the border is not displayed?

Isn't  f+S=B ?

 

Thank You.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points