#include <PdfPainterMM.h>
Inheritance diagram for PoDoFo::PdfPainterMM:
Public Member Functions | |
PdfPainterMM () | |
void | SetStrokeWidthMM (long lWidth) |
void | DrawLineMM (long lStartX, long lStartY, long lEndX, long lEndY) |
void | DrawRectMM (long lX, long lY, long lWidth, long lHeight) |
void | FillRectMM (long lX, long lY, long lWidth, long lHeight) |
void | DrawEllipseMM (long lX, long lY, long lWidth, long lHeight) |
void | FillEllipseMM (long lX, long lY, long lWidth, long lHeight) |
void | DrawTextMM (long lX, long lY, const PdfString &sText) |
void | DrawTextMM (long lX, long lY, const PdfString &sText, long lLen) |
void | DrawImageMM (long lX, long lY, PdfImage *pObject, double dScaleX=1.0, double dScaleY=1.0) |
void | DrawXObjectMM (long lX, long lY, PdfXObject *pObject, double dScaleX=1.0, double dScaleY=1.0) |
void | LineToMM (long lX, long lY) |
void | MoveToMM (long lX, long lY) |
During all drawing operations, you are still able to access the stream of the object you are drawing on directly.
This painter takes all coordinates in 1/1000th mm instead of PDF units.
Developer note: we use ownership rather than inheritance here, so as to use the same methods names a PdfPainter AND avoid compiler confusion on picking the right one.
|
Create a new PdfPainterMM object. |
|
Draw an ellipse with the current stroking settings
|
|
Draw an image on the current page.
|
|
Draw a line with the current color and line settings.
|
|
Draw a rectangle with the current stroking settings
|
|
Draw a text string on a page using a given font object. You have to call SetFont before calling this function.
|
|
Draw a text string on a page using a given font object. You have to call SetFont before calling this function.
|
|
Draw an XObject on the current page.
|
|
Fill an ellipse with the current fill settings
|
|
Fill a rectangle with the current fill settings
|
|
Append a line segment to the current path. Matches the PDF 'l' operator. This function is useful to construct an own path for drawing or clipping.
|
|
Begin a new path. Matches the PDF 'm' operator. This function is useful to construct an own path for drawing or clipping.
|
|
Set the line width for all stroking operations.
|