Optimize selecting font in generated PostScript code
Emit code to select PostScript font only if it is needed (not at every call to SetFont(), but only if font has been really changed prior to a text drawing operation).
This commit is contained in:
@@ -12,6 +12,13 @@
|
||||
can write PostScript files on any platform. See wxDC for descriptions of
|
||||
the member functions.
|
||||
|
||||
@section start_doc Starting a document
|
||||
|
||||
Document should be started with call to StartDoc() prior to calling any
|
||||
function to execute a drawing operation.
|
||||
However, some functions, like SetFont(), may be legitimately called even
|
||||
before StartDoc().
|
||||
|
||||
@library{wxbase}
|
||||
@category{dc}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user