fcl-pdf: Implement clip path management, publish graphic state management
Original Reporter info from Mantis: AntonK
-
Reporter name: Anton Kavalenka
Original Reporter info from Mantis: AntonK
- Reporter name: Anton Kavalenka
Description:
Patch implements:
* clipping to path
* minor optimizations in font searching
* published graphics stack state management
* resetting cached line width and color on restoring graphics stack state
Rectangular clipping is done as follows
fPage.PushGraphicsStack;
inc(fSaveCount);
fPage.DrawRect(x,y,w,h,Pen.Width*72/1200,false,false);
fPage.ClipPath;
Mantis conversion info:
- Mantis ID: 36871
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 44667 (#50e7345f)
- Target version: 4.0.0