Warning:  main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 1
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 1
Warning:  main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 8
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 8
Invoke the Draw method of the specified superclass
void PtSuperClassDraw( PtWidgetClassRef_t *wc_ref,
                       PtWidget_t *widget, 
                       PhTile_t const *damage );
- wc_ref
 
- The superclass whose method you want to invoke.
 
- widget
 
- A pointer to the widget being drawn.
 
- damage
 
- A pointer to a list of
  PhTile_t
  structures (see the Photon Library Reference) that define
  the damaged areas to be drawn.
 
This function invokes the Draw method of the specified superclass
wc_ref. Use this function to save code and complexity in
your subclass's Draw method.
static void my_draw( PtWidget_t *widget, PhTile_t *damage )
{
  // draw fill & borders as needed.
  PtSuperClassDraw( PtBasic, widget, damage );
  PtCalcCanvas( widget, &canvas );
  // Check if PtAttemptResize() function set Pt_UCLIP flag
  // in the Extent method.
  if( widget->resize_flags & Pt_UCLIP )
     PtClipAdd( widget, &canvas );
  PgDrawLine( canvas.ul, canvas.lr );
  PgDrawLine( canvas.lr, canvas.ul );
  if( widget->resize_flags & Pt_UCLIP )
     PtClipRemove();
}
Photon
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    No | 
PhTile_t
in the Photon Library Reference
Warning:  main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 126
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptsuperclassdraw.html on line 126