Code

Use std::vector.
authormiklosh <miklosh@users.sourceforge.net>
Thu, 10 Aug 2006 21:03:42 +0000 (21:03 +0000)
committermiklosh <miklosh@users.sourceforge.net>
Thu, 10 Aug 2006 21:03:42 +0000 (21:03 +0000)
src/extension/internal/pdf-cairo.h

index 816d7bfc7f6e0166baa831161bf1ee95bd9e8c69..d8c4eb67663c99dda799e2e72462366555428c02 100644 (file)
@@ -42,8 +42,7 @@ class PrintCairoPDF : public Inkscape::Extension::Implementation::Implementation
     cairo_surface_t *pdf_surface;
     PangoLayout *_layout;
 //    PangoContext *_context;
-    float *_alpha_stack;
-    int        _num_alphas, _alpha_ptr;
+    std::vector<float> _alpha_stack;
     double _last_tx, _last_ty;
     
     unsigned short _dpi;