Commit ddd1567f authored by claes's avatar claes

Function set_shadow_width added

parent 84d65d9c
/* /*
* Proview $Id: glow_array_elem.h,v 1.6 2005-09-01 14:57:53 claes Exp $ * Proview $Id: glow_array_elem.h,v 1.7 2005-12-06 09:18:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -123,6 +123,7 @@ class GlowArrayElem { ...@@ -123,6 +123,7 @@ class GlowArrayElem {
virtual void set_fill( int fill) {}; virtual void set_fill( int fill) {};
virtual void set_border( int border) {}; virtual void set_border( int border) {};
virtual void set_shadow( int shadow) {}; virtual void set_shadow( int shadow) {};
virtual void set_shadow_width( double width) {};
virtual void set_drawtype( glow_eDrawType draw_type) {}; virtual void set_drawtype( glow_eDrawType draw_type) {};
virtual void set_linewidth( int linewidth) {}; virtual void set_linewidth( int linewidth) {};
virtual void set_position( double x, double y) {}; virtual void set_position( double x, double y) {};
......
/* /*
* Proview $Id: glow_growarc.h,v 1.3 2005-09-01 14:57:53 claes Exp $ * Proview $Id: glow_growarc.h,v 1.4 2005-12-06 09:18:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -476,6 +476,12 @@ class GrowArc : public GlowArc { ...@@ -476,6 +476,12 @@ class GrowArc : public GlowArc {
*/ */
void set_shadow( int shadowval) { shadow = shadowval; draw();} void set_shadow( int shadowval) { shadow = shadowval; draw();}
//! Set shadow width.
/*!
\param width Width of shadow.
*/
void set_shadow_width( double width) { shadow_width = width; draw();}
void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !! void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !!
//! Moves object to alignment line or point. //! Moves object to alignment line or point.
......
/* /*
* Proview $Id: glow_growpolyline.h,v 1.3 2005-09-01 14:57:54 claes Exp $ * Proview $Id: glow_growpolyline.h,v 1.4 2005-12-06 09:18:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -300,6 +300,12 @@ class GrowPolyLine : public GlowPolyLine { ...@@ -300,6 +300,12 @@ class GrowPolyLine : public GlowPolyLine {
*/ */
void set_shadow( int shadowval) { shadow = shadowval; draw();} void set_shadow( int shadowval) { shadow = shadowval; draw();}
//! Set shadow width.
/*!
\param width Width of shadow.
*/
void set_shadow_width( double width) { shadow_width = width; draw();}
//! todo //! todo
void set_drawtype( glow_eDrawType drawtype); void set_drawtype( glow_eDrawType drawtype);
......
/* /*
* Proview $Id: glow_growrect.h,v 1.5 2005-09-01 14:57:54 claes Exp $ * Proview $Id: glow_growrect.h,v 1.6 2005-12-06 09:18:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -485,6 +485,12 @@ class GrowRect : public GlowRect { ...@@ -485,6 +485,12 @@ class GrowRect : public GlowRect {
*/ */
void set_shadow( int shadowval) { shadow = shadowval; draw();} void set_shadow( int shadowval) { shadow = shadowval; draw();}
//! Set shadow width.
/*!
\param width Width of shadow.
*/
void set_shadow_width( double width) { shadow_width = width; draw();}
void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !! void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !!
//! Redraw the background to an annotation. //! Redraw the background to an annotation.
......
/* /*
* Proview $Id: glow_growrectrounded.h,v 1.2 2005-09-01 14:57:54 claes Exp $ * Proview $Id: glow_growrectrounded.h,v 1.3 2005-12-06 09:18:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -484,6 +484,12 @@ class GrowRectRounded : public GlowRect { ...@@ -484,6 +484,12 @@ class GrowRectRounded : public GlowRect {
*/ */
void set_shadow( int shadowval) { shadow = shadowval; draw();} void set_shadow( int shadowval) { shadow = shadowval; draw();}
//! Set shadow width.
/*!
\param width Width of shadow.
*/
void set_shadow_width( double width) { shadow_width = width; draw();}
void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !! void get_ctx( void **c) { *c = (void *)ctx;}; //!< Should be replace by get_ctx() !!
//! Redraw the background to an annotation. //! Redraw the background to an annotation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment