• 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:rec

223         wxMetaRecord *rec = new wxMetaRecord(META_SETBKCOLOR);
225 rec->param1 = GetRValue(colorref);
226 rec->param2 = GetGValue(colorref);
227 rec->param3 = GetBValue(colorref);
228 metaRecords.Append(rec);
233 wxMetaRecord *rec = new wxMetaRecord(META_SETBKMODE);
234 rec->param1 = getshort(handle); // Background mode
235 if (rec->param1 == OPAQUE) rec->param1 = wxSOLID;
236 else rec->param1 = wxTRANSPARENT;
237 metaRecords.Append(rec);
242 wxMetaRecord *rec = new wxMetaRecord(META_SETMAPMODE);
243 rec->param1 = getshort(handle);
244 metaRecords.Append(rec);
254 wxMetaRecord *rec = new wxMetaRecord(META_SETTEXTCOLOR);
256 rec->param1 = GetRValue(colorref);
257 rec->param2 = GetGValue(colorref);
258 rec->param3 = GetBValue(colorref);
259 metaRecords.Append(rec);
265 wxMetaRecord *rec = new wxMetaRecord(META_SETWINDOWORG);
266 rec->param2 = getshort(handle);
267 rec->param1 = getshort(handle);
268 metaRecords.Append(rec);
273 wxMetaRecord *rec = new wxMetaRecord(META_SETWINDOWEXT);
274 rec->param2 = getshort(handle);
275 rec->param1 = getshort(handle);
276 metaRecords.Append(rec);
287 wxMetaRecord *rec = new wxMetaRecord(META_LINETO);
288 rec->param1 = getshort(handle); // x1
289 rec->param2 = getshort(handle); // y1
290 metaRecords.Append(rec);
295 wxMetaRecord *rec = new wxMetaRecord(META_MOVETO);
296 rec->param1 = getshort(handle); // x1
297 rec->param2 = getshort(handle); // y1
298 metaRecords.Append(rec);
303 wxMetaRecord *rec = new wxMetaRecord(META_EXCLUDECLIPRECT);
304 rec->param4 = getshort(handle); // y2
305 rec->param3 = getshort(handle); // x2
306 rec->param2 = getshort(handle); // y1
307 rec->param1 = getshort(handle); // x1
308 metaRecords.Append(rec);
313 wxMetaRecord *rec = new wxMetaRecord(META_INTERSECTCLIPRECT);
314 rec->param4 = getshort(handle); // y2
315 rec->param3 = getshort(handle); // x2
316 rec->param2 = getshort(handle); // y1
317 rec->param1 = getshort(handle); // x1
318 metaRecords.Append(rec);
324 wxMetaRecord *rec = new wxMetaRecord(META_ELLIPSE);
325 rec->param4 = getshort(handle); // y2
326 rec->param3 = getshort(handle); // x2
327 rec->param2 = getshort(handle); // y1
328 rec->param1 = getshort(handle); // x1
329 metaRecords.Append(rec);
336 wxMetaRecord *rec = new wxMetaRecord(META_RECTANGLE);
337 rec->param4 = getshort(handle); // y2
338 rec->param3 = getshort(handle); // x2
339 rec->param2 = getshort(handle); // y1
340 rec->param1 = getshort(handle); // x1
341 metaRecords.Append(rec);
346 wxMetaRecord *rec = new wxMetaRecord(META_ROUNDRECT);
347 rec->param6 = getshort(handle); // width
348 rec->param5 = getshort(handle); // height
349 rec->param4 = getshort(handle); // y2
350 rec->param3 = getshort(handle); // x2
351 rec->param2 = getshort(handle); // y1
352 rec->param1 = getshort(handle); // x1
353 metaRecords.Append(rec);
360 wxMetaRecord *rec = new wxMetaRecord(META_SETPIXEL);
361 rec->param1 = getshort(handle); // x1
362 rec->param2 = getshort(handle); // y1
363 rec->param3 = getint(handle); // COLORREF
364 metaRecords.Append(rec);
370 wxMetaRecord *rec = new wxMetaRecord(META_TEXTOUT);
372 rec->stringParam = new wxChar[count+1];
373 fread((void *)rec->stringParam, sizeof(wxChar), count, handle);
374 rec->stringParam[count] = 0;
375 rec->param2 = getshort(handle); // Y
376 rec->param1 = getshort(handle); // X
377 metaRecords.Append(rec);
383 wxMetaRecord *rec = new wxMetaRecord(META_EXTTEXTOUT);
386 rec->stringParam = new char[count+1];
387 fread((void *)rec->stringParam, sizeof(char), count, handle);
388 rec->stringParam[count] = 0;
395 rec->param2 = getshort(handle); // Y
396 rec->param1 = getshort(handle); // X
397 metaRecords.Append(rec);
405 wxMetaRecord *rec = new wxMetaRecord(META_POLYGON);
406 rec->param1 = getshort(handle);
407 rec->points = new wxRealPoint[(int)rec->param1];
408 for (int i = 0; i < rec->param1; i++)
410 rec->points[i].x = getshort(handle);
411 rec->points[i].y = getshort(handle);
414 metaRecords.Append(rec);
419 wxMetaRecord *rec = new wxMetaRecord(META_POLYLINE);
420 rec->param1 = (long)getshort(handle);
421 rec->points = new wxRealPoint[(int)rec->param1];
422 for (int i = 0; i < rec->param1; i++)
424 rec->points[i].x = getshort(handle);
425 rec->points[i].y = getshort(handle);
428 metaRecords.Append(rec);
440 wxMetaRecord *rec = new wxMetaRecord(META_SELECTOBJECT);
441 rec->param1 = (long)getshort(handle); // Position of object in gdiObjects list
442 metaRecords.Append(rec);
445 rec->param2 = HandleTable[(int)rec->param1]->param2;
464 wxMetaRecord *rec = new wxMetaRecord(META_DIBCREATEPATTERNBRUSH);
467 metaRecords.Append(rec);
468 gdiObjects.Append(rec);
469 AddMetaRecordHandle(rec);
470 rec->param2 = (long)(gdiObjects.GetCount() - 1);
489 wxMetaRecord *rec = new wxMetaRecord(META_CREATEPALETTE);
492 metaRecords.Append(rec);
493 gdiObjects.Append(rec);
494 AddMetaRecordHandle(rec);
495 rec->param2 = (long)(gdiObjects.GetCount() - 1);
500 wxMetaRecord *rec = new wxMetaRecord(META_CREATEBRUSH);
502 metaRecords.Append(rec);
503 gdiObjects.Append(rec);
504 AddMetaRecordHandle(rec);
505 rec->param2 = (long)(gdiObjects.GetCount() - 1);
510 wxMetaRecord *rec = new wxMetaRecord(META_CREATEPATTERNBRUSH);
512 metaRecords.Append(rec);
513 gdiObjects.Append(rec);
514 AddMetaRecordHandle(rec);
515 rec->param2 = (long)(gdiObjects.GetCount() - 1);
520 wxMetaRecord *rec = new wxMetaRecord(META_CREATEPENINDIRECT);
536 rec->param1 = (long)wxThePenList->FindOrCreatePen(colour, x, style);
537 metaRecords.Append(rec);
538 gdiObjects.Append(rec);
540 AddMetaRecordHandle(rec);
541 rec->param2 = (long)(gdiObjects.GetCount() - 1);
553 wxMetaRecord *rec = new wxMetaRecord(META_CREATEFONTINDIRECT);
609 rec->param1 = (long) theFont;
610 metaRecords.Append(rec);
611 gdiObjects.Append(rec);
612 AddMetaRecordHandle(rec);
613 rec->param2 = (long)(gdiObjects.GetCount() - 1);
618 wxMetaRecord *rec = new wxMetaRecord(META_CREATEBRUSHINDIRECT);
674 rec->param1 = (long)wxTheBrushList->FindOrCreateBrush(colour, style);
675 metaRecords.Append(rec);
676 gdiObjects.Append(rec);
677 AddMetaRecordHandle(rec);
678 rec->param2 = (long)(gdiObjects.GetCount() - 1);
683 wxMetaRecord *rec = new wxMetaRecord(META_CREATEBITMAPINDIRECT);
686 metaRecords.Append(rec);
687 gdiObjects.Append(rec);
688 AddMetaRecordHandle(rec);
689 rec->param2 = (long)(gdiObjects.GetCount() - 1);
694 wxMetaRecord *rec = new wxMetaRecord(META_CREATEBITMAP);
697 metaRecords.Append(rec);
698 gdiObjects.Append(rec);
699 AddMetaRecordHandle(rec);
700 rec->param2 = (long)(gdiObjects.GetCount() - 1);
705 wxMetaRecord *rec = new wxMetaRecord(META_CREATEREGION);
708 metaRecords.Append(rec);
709 gdiObjects.Append(rec);
710 AddMetaRecordHandle(rec);
711 rec->param2 = (long)(gdiObjects.GetCount() - 1);
730 wxMetaRecord *rec = (wxMetaRecord *)node->GetData();
731 delete rec;
748 wxMetaRecord *rec = (wxMetaRecord *)node->GetData();
749 int rdFunction = rec->metaFunction;
791 long x1 = rec->param1;
792 long y1 = rec->param2;
798 lastX = (double)rec->param1;
799 lastY = (double)rec->param2;
819 dc->DrawRectangle((long)rec->param1, (long)rec->param2,
820 (long)rec->param3 - rec->param1,
821 (long)rec->param4 - rec->param2);
826 dc->DrawRoundedRectangle((long)rec->param1, (long)rec->param2,
827 (long)rec->param3 - rec->param1,
828 (long)rec->param4 - rec->param2,
829 (long)rec->param5);
836 // rec->param1 = getshort(handle); // x1
837 // rec->param2 = getshort(handle); // y1
838 // rec->param3 = getint(handle); // COLORREF
846 rec->stringParam = new char[count+1];
847 fread((void *)rec->stringParam, sizeof(char), count, handle);
848 rec->stringParam[count] = 0;
849 rec->param2 = getshort(handle); // Y
850 rec->param1 = getshort(handle); // X
859 rec->param1 = getshort(handle);
860 rec->points = new wxRealPoint[(int)rec->param1];
861 for (int i = 0; i < rec->param1; i++)
863 rec->points[i].x = getshort(handle);
864 rec->points[i].y = getshort(handle);
872 wxMetaRecord *rec = new wxMetaRecord(META_POLYLINE);
873 rec->param1 = (long)getshort(handle);
874 rec->points = new wxRealPoint[(int)rec->param1];
875 for (int i = 0; i < rec->param1; i++)
877 rec->points[i].x = getshort(handle);
878 rec->points[i].y = getshort(handle);
893 wxMetaRecord *rec = new wxMetaRecord(META_SELECTOBJECT);
894 rec->param1 = (long)getshort(handle); // Position of object in gdiObjects list
931 wxMetaRecord *rec = new wxMetaRecord(META_CREATEPALETTE);
968 rec->param1 = (long)wxThePenList->FindOrCreatePen(&colour, x, style);
1027 rec->param1 = (long)theFont;
1048 rec->param1 = (long)wxTheBrushList->FindOrCreateBrush(&colour, wxSOLID);
1070 rec->param1 = getshort(handle); // Style: 2 bytes