• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/ogl/

Lines Matching refs:expr

516   wxExpr *expr = new wxExpr(wxExprList);
517 expr->Append(new wxExpr((long)m_op));
524 expr->Append(new wxExpr((long)m_gdiIndex));
530 expr->Append(new wxExpr((long)m_r));
531 expr->Append(new wxExpr((long)m_g));
532 expr->Append(new wxExpr((long)m_b));
537 expr->Append(new wxExpr((long)m_mode));
543 return expr;
546 void wxOpSetGDI::ReadExpr(wxPseudoMetaFile *WXUNUSED(image), wxExpr *expr)
554 m_gdiIndex = (int)expr->Nth(1)->IntegerValue();
560 m_r = (unsigned char)expr->Nth(1)->IntegerValue();
561 m_g = (unsigned char)expr->Nth(2)->IntegerValue();
562 m_b = (unsigned char)expr->Nth(3)->IntegerValue();
567 m_mode = (int)expr->Nth(1)->IntegerValue();
632 wxExpr *expr = new wxExpr(wxExprList);
633 expr->Append(new wxExpr((long)m_op));
638 expr->Append(new wxExpr(m_x1));
639 expr->Append(new wxExpr(m_y1));
640 expr->Append(new wxExpr(m_x2));
641 expr->Append(new wxExpr(m_y2));
647 return expr;
650 void wxOpSetClipping::ReadExpr(wxPseudoMetaFile *WXUNUSED(image), wxExpr *expr)
656 m_x1 = expr->Nth(1)->RealValue();
657 m_y1 = expr->Nth(2)->RealValue();
658 m_x2 = expr->Nth(3)->RealValue();
659 m_y2 = expr->Nth(4)->RealValue();
876 wxExpr *expr = new wxExpr(wxExprList);
877 expr->Append(new wxExpr((long)m_op));
884 expr->Append(new wxExpr(m_x1));
885 expr->Append(new wxExpr(m_y1));
886 expr->Append(new wxExpr(m_x2));
887 expr->Append(new wxExpr(m_y2));
892 expr->Append(new wxExpr(m_x1));
893 expr->Append(new wxExpr(m_y1));
894 expr->Append(new wxExpr(m_x2));
895 expr->Append(new wxExpr(m_y2));
896 expr->Append(new wxExpr(m_radius));
901 expr->Append(new wxExpr(m_x1));
902 expr->Append(new wxExpr(m_y1));
907 expr->Append(new wxExpr(m_x1));
908 expr->Append(new wxExpr(m_y1));
909 expr->Append(new wxExpr(wxExprString, m_textString));
915 expr->Append(new wxExpr(m_x1));
916 expr->Append(new wxExpr(m_y1));
917 expr->Append(new wxExpr(m_x2));
918 expr->Append(new wxExpr(m_y2));
919 expr->Append(new wxExpr(m_x3));
920 expr->Append(new wxExpr(m_y3));
928 return expr;
931 void wxOpDraw::ReadExpr(wxPseudoMetaFile *WXUNUSED(image), wxExpr *expr)
939 m_x1 = expr->Nth(1)->RealValue();
940 m_y1 = expr->Nth(2)->RealValue();
941 m_x2 = expr->Nth(3)->RealValue();
942 m_y2 = expr->Nth(4)->RealValue();
947 m_x1 = expr->Nth(1)->RealValue();
948 m_y1 = expr->Nth(2)->RealValue();
949 m_x2 = expr->Nth(3)->RealValue();
950 m_y2 = expr->Nth(4)->RealValue();
951 m_radius = expr->Nth(5)->RealValue();
956 m_x1 = expr->Nth(1)->RealValue();
957 m_y1 = expr->Nth(2)->RealValue();
962 m_x1 = expr->Nth(1)->RealValue();
963 m_y1 = expr->Nth(2)->RealValue();
964 m_textString = wxString(expr->Nth(3)->StringValue());
970 m_x1 = expr->Nth(1)->RealValue();
971 m_y1 = expr->Nth(2)->RealValue();
972 m_x2 = expr->Nth(3)->RealValue();
973 m_y2 = expr->Nth(4)->RealValue();
974 m_x3 = expr->Nth(5)->RealValue();
975 m_y3 = expr->Nth(6)->RealValue();
1100 wxExpr *expr = new wxExpr(wxExprList);
1101 expr->Append(new wxExpr((long)m_op));
1102 expr->Append(new wxExpr((long)m_noPoints));
1135 expr->Append(new wxExpr(wxExprString, oglBuffer));
1136 return expr;
1139 void wxOpPolyDraw::ReadExpr(wxPseudoMetaFile *WXUNUSED(image), wxExpr *expr)
1141 m_noPoints = (int)expr->Nth(1)->IntegerValue();
1149 wxString hexString = expr->Nth(2)->StringValue();
1473 wxExpr *expr = NULL;
1479 expr = new wxExpr(wxExprList);
1480 expr->Append(new wxExpr((long)gyTYPE_PEN));
1481 expr->Append(new wxExpr((long)thePen->GetWidth()));
1482 expr->Append(new wxExpr((long)thePen->GetStyle()));
1483 expr->Append(new wxExpr((long)thePen->GetColour().Red()));
1484 expr->Append(new wxExpr((long)thePen->GetColour().Green()));
1485 expr->Append(new wxExpr((long)thePen->GetColour().Blue()));
1490 expr = new wxExpr(wxExprList);
1491 expr->Append(new wxExpr((long)gyTYPE_BRUSH));
1492 expr->Append(new wxExpr((long)theBrush->GetStyle()));
1493 expr->Append(new wxExpr((long)theBrush->GetColour().Red()));
1494 expr->Append(new wxExpr((long)theBrush->GetColour().Green()));
1495 expr->Append(new wxExpr((long)theBrush->GetColour().Blue()));
1500 expr = new wxExpr(wxExprList);
1501 expr->Append(new wxExpr((long)gyTYPE_FONT));
1502 expr->Append(new wxExpr((long)theFont->GetPointSize()));
1503 expr->Append(new wxExpr((long)theFont->GetFamily()));
1504 expr->Append(new wxExpr((long)theFont->GetStyle()));
1505 expr->Append(new wxExpr((long)theFont->GetWeight()));
1506 expr->Append(new wxExpr((long)theFont->GetUnderlined()));
1512 expr = new wxExpr(wxExprList);
1513 expr->Append(new wxExpr((long)0));
1516 if (expr)
1518 clause->AddAttributeValue(buf, expr);
1531 wxExpr *expr = op->WriteExpr(this);
1532 if (expr)
1534 clause->AddAttributeValue(buf, expr);
1601 wxExpr *expr = NULL;
1602 clause->GetAttributeValue(buf, &expr);
1603 if (!expr)
1609 wxExpr *idExpr = expr->Nth(0);
1614 int penWidth = (int)expr->Nth(1)->IntegerValue();
1615 int penStyle = (int)expr->Nth(2)->IntegerValue();
1616 unsigned char penRed = (unsigned char)expr->Nth(3)->IntegerValue();
1617 unsigned char penGreen = (unsigned char)expr->Nth(4)->IntegerValue();
1618 unsigned char penBlue = (unsigned char)expr->Nth(5)->IntegerValue();
1628 int brushStyle = (int)expr->Nth(1)->IntegerValue();
1629 unsigned char brushRed = (unsigned char)expr->Nth(2)->IntegerValue();
1630 unsigned char brushGreen = (unsigned char)expr->Nth(3)->IntegerValue();
1631 unsigned char brushBlue = (unsigned char)expr->Nth(4)->IntegerValue();
1641 int fontPointSize = (int)expr->Nth(1)->IntegerValue();
1642 int fontFamily = (int)expr->Nth(2)->IntegerValue();
1643 int fontStyle = (int)expr->Nth(3)->IntegerValue();
1644 int fontWeight = (int)expr->Nth(4)->IntegerValue();
1645 int fontUnderlined = (int)expr->Nth(5)->IntegerValue();
1667 wxExpr *expr = NULL;
1668 clause->GetAttributeValue(buf, &expr);
1669 if (!expr)
1675 wxExpr *idExpr = expr->Nth(0);
1687 theOp->ReadExpr(this, expr);
1696 theOp->ReadExpr(this, expr);
1710 theOp->ReadExpr(this, expr);
1719 theOp->ReadExpr(this, expr);