Back to index

plt-scheme  4.2.1
Public Member Functions | Public Attributes
os_wxPen Class Reference
Inheritance diagram for os_wxPen:
Inheritance graph
[legend]
Collaboration diagram for os_wxPen:
Collaboration graph
[legend]

List of all members.

Public Member Functions

os_wxPen CONSTRUCTOR_ARGS (())
os_wxPen CONSTRUCTOR_ARGS ((class wxColour *x0, double x1, int x2))
os_wxPen CONSTRUCTOR_ARGS ((string x0, double x1, int x2))
 ~os_wxPen ()
int GetCap (void)
wxColourGetColour (void)
int GetDashes (wxDash **p)
int GetJoin (void)
wxBitmapGetStipple (void)
int GetStyle (void)
int GetWidth (void)
double GetWidthF (void)
void SetCap (int c)
void SetColour (wxColour *col)
void SetColour (const char *col)
void SetColour (char r, char g, char b)
void SetDashes (int n, wxDash *d)
void SetJoin (int j)
void SetStipple (wxBitmap *s)
void SetStyle (int s)
void SetWidth (double w)
Bool IsMutable (void)
void Lock (int d)
void install_cleanup ()
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
voidoperator new (size_t size, void *p)
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
void operator delete (void *obj)
void operator delete (void *, void *)
void operator delete (void *obj)
voidoperator new[] (size_t size)
voidoperator new[] (size_t size, GCPlacement gcp)
voidoperator new[] (size_t size, void *p)
void operator delete[] (void *obj)
void operator delete[] (void *, void *)

Public Attributes

WXTYPE __type
void__gc_external

Detailed Description

Definition at line 2598 of file wxs_gdi.cxx.


Constructor & Destructor Documentation

Definition at line 2645 of file wxs_gdi.cxx.

Here is the call graph for this function:


Member Function Documentation

os_wxPen os_wxPen::CONSTRUCTOR_ARGS ( (class wxColour *x0, double x1, int x2)  )
os_wxPen os_wxPen::CONSTRUCTOR_ARGS ( (string x0, double x1, int x2)  )
int wxPen::GetCap ( void  ) [inline, inherited]

Definition at line 72 of file Pen+Brush.h.

{ return cap; }

Here is the caller graph for this function:

wxColour* wxPen::GetColour ( void  ) [inline, inherited]

Definition at line 73 of file Pen+Brush.h.

{ return colour; }

Here is the caller graph for this function:

int wxPen::GetDashes ( wxDash **  p) [inline, inherited]

Definition at line 74 of file Pen+Brush.h.

{ *p = dash; return nb_dash; }

Here is the caller graph for this function:

int wxPen::GetJoin ( void  ) [inline, inherited]

Definition at line 75 of file Pen+Brush.h.

{ return join; }

Here is the caller graph for this function:

wxBitmap* wxPen::GetStipple ( void  ) [inline, inherited]

Definition at line 76 of file Pen+Brush.h.

{ return stipple; }

Here is the caller graph for this function:

int wxPen::GetStyle ( void  ) [inline, inherited]

Definition at line 77 of file Pen+Brush.h.

{ return style; }

Here is the caller graph for this function:

int wxPen::GetWidth ( void  ) [inline, inherited]

Definition at line 78 of file Pen+Brush.h.

{ return (int)width; }

Here is the caller graph for this function:

double wxPen::GetWidthF ( void  ) [inline, inherited]

Definition at line 79 of file Pen+Brush.h.

{ return width; }

Here is the caller graph for this function:

Definition at line 99 of file wxGC.cxx.

{
  GC_finalization_proc old_fn;
  void *old_data;

# ifdef MZ_PRECISE_GC
#  define ALLOW_NON_BASE 0
#  define CHECK_BASE 0
# else
#  ifdef wx_xt
#   define ALLOW_NON_BASE 0
#   define CHECK_BASE 0
#  else
#   ifdef WIN32
#    define ALLOW_NON_BASE 0
#    define CHECK_BASE 1
#    define CRASH_ON_NONBASE 1
#   else
#    define ALLOW_NON_BASE 1
#    define CHECK_BASE 0
#   endif
#  endif
# endif

# if CHECK_BASE || ALLOW_NON_BASE
  if (GC_base(this) != (void *)this) {
#  if ALLOW_NON_BASE
    return;
#  else
#   ifdef CRASH_ON_NONBASE
    *(long *)0x0 = 1;
#   else
    printf("Clean-up object is not the base object\n");
    abort();
#   endif
#  endif
  }
# endif

  GC_register_finalizer_ignore_self(gcOBJ_TO_PTR(this), 
                                CAST_GCP GC_cleanup, NULL, 
                                CAST_GCPP &old_fn, &old_data);

# if CHECK_BASE
  if (old_fn) {
#  ifdef CRASH_ON_NONBASE
       *(long *)0x0 = 1;
#  else
    printf("Object already has a clean-up\n");
    abort();
#  endif
  }
# endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Bool wxPen::IsMutable ( void  ) [inline, inherited]

Definition at line 91 of file Pen+Brush.h.

{ return !locked; }
void wxPen::Lock ( int  d) [inline, inherited]

Definition at line 92 of file Pen+Brush.h.

{ locked += d; colour->Lock(d); }

Here is the call graph for this function:

Here is the caller graph for this function:

void gc::operator delete ( void obj) [inline, inherited]
void gc::operator delete ( void obj) [inline, inherited]

Definition at line 287 of file gc_cpp.h.

                                           {
    GC_FREE( obj );}

Here is the caller graph for this function:

void gc::operator delete ( void ,
void  
) [inline, inherited]

Definition at line 291 of file gc_cpp.h.

{}
void gc::operator delete[] ( void obj) [inline, inherited]

Definition at line 305 of file gc_cpp.h.

                                             {
    gc::operator delete( obj );}

Here is the call graph for this function:

void gc::operator delete[] ( void ,
void  
) [inline, inherited]

Definition at line 309 of file gc_cpp.h.

{}
void* gc::operator new ( size_t  size) [inline, inherited]
void* gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]
void * gc::operator new ( size_t  size) [inline, inherited]

Definition at line 273 of file gc_cpp.h.

                                           {
    return GC_MALLOC( size );}

Here is the caller graph for this function:

void * gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 276 of file gc_cpp.h.

                                                            {
    if (gcp == UseGC) 
        return GC_MALLOC( size );
    else if (gcp == PointerFreeGC)
       return GC_MALLOC_ATOMIC( size );
    else
        return GC_MALLOC_UNCOLLECTABLE( size );}
void * gc::operator new ( size_t  size,
void p 
) [inline, inherited]

Definition at line 284 of file gc_cpp.h.

                                                    {
    return p;}
void * gc::operator new[] ( size_t  size) [inline, inherited]

Definition at line 296 of file gc_cpp.h.

                                             {
    return gc::operator new( size );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 299 of file gc_cpp.h.

                                                              {
    return gc::operator new( size, gcp );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
void p 
) [inline, inherited]

Definition at line 302 of file gc_cpp.h.

                                                      {
    return p;}
void wxPen::SetCap ( int  c) [inline, inherited]

Definition at line 81 of file Pen+Brush.h.

{ cap = c; }
void wxPen::SetColour ( wxColour col) [inline, inherited]

Definition at line 82 of file Pen+Brush.h.

{ colour->CopyFrom(col); }

Here is the call graph for this function:

void wxPen::SetColour ( const char *  col) [inline, inherited]

Definition at line 83 of file Pen+Brush.h.

Here is the call graph for this function:

void wxPen::SetColour ( char  r,
char  g,
char  b 
) [inline, inherited]

Definition at line 84 of file Pen+Brush.h.

{ colour->Set(r, g, b); }

Here is the call graph for this function:

void wxPen::SetDashes ( int  n,
wxDash d 
) [inline, inherited]

Definition at line 85 of file Pen+Brush.h.

{ nb_dash = n; dash = d; }
void wxPen::SetJoin ( int  j) [inline, inherited]

Definition at line 86 of file Pen+Brush.h.

{ join = j; }
void wxPen::SetStipple ( wxBitmap s) [inherited]

Definition at line 109 of file Pen+Brush.cc.

{
  if (s && (!s->Ok() || (s->selectedIntoDC < 0)))
    return;

  if (s)
    s->selectedIntoDC++;
  if (stipple)
    --stipple->selectedIntoDC;

  stipple = s;
}

Here is the call graph for this function:

void wxPen::SetStyle ( int  s) [inline, inherited]

Definition at line 88 of file Pen+Brush.h.

{ style = s; }
void wxPen::SetWidth ( double  w) [inline, inherited]

Definition at line 89 of file Pen+Brush.h.

{ width = w; }

Member Data Documentation

Definition at line 146 of file wxGC.h.

WXTYPE wxObject::__type [inherited]

Definition at line 77 of file Object.h.


The documentation for this class was generated from the following file: