Lines Matching refs:portState
113 typedef struct OpaquePortState* PortState;
276 - (PortState)saveAndSetNewPortStateForUpdate:(BOOL)forUpdate
354 PortState portState;
368 portState = (PortState)qdPortState;
501 portState = NULL;
510 portState = (PortState)cgPortState;
546 portState = (PortState)1;
551 portState = NULL;
555 return portState;
558 - (PortState)saveAndSetNewPortState
563 - (void)restorePortState:(PortState)portState
566 ASSERT(portState);
571 PortState_QD *qdPortState = (PortState_QD *)portState;
598 CGContextRef context = ((PortState_CG *)portState)->context;
605 ASSERT(portState == (PortState)1);
641 PortState portState = NULL;
646 portState = [self saveAndSetNewPortStateForUpdate:eventIsDrawRect];
680 if (portState) {
682 [self restorePortState:portState];
683 if (portState != (PortState)1)
684 free(portState);
967 PortState portState = [self saveAndSetNewPortState];
968 if (portState) {
970 [self restorePortState:portState];
971 if (portState != (PortState)1)
972 free(portState);