Lines Matching defs:Rect
966 \param Rot Rotation angle to apply to coordinate system (Start and Rect), positive is degrees clockwise
967 \param Rect U_PMF_RECTF that defines the bounding rectangle.
974 int U_PATH_arcto(U_DPSEUDO_OBJ *Path, U_FLOAT Start, U_FLOAT Sweep, U_FLOAT Rot, U_PMF_RECTF *Rect, uint8_t Flags, int StartSeg){
990 a = Rect->Width/2.0;
991 b = Rect->Height/2.0;
993 Center.X = Rect->X + a;
994 Center.Y = Rect->Y + b;
3144 \param Rect U_PMF_RECT structures
3148 U_PSEUDO_OBJ *U_PMF_RECT_set(U_PMF_RECT *Rect){
3150 {Rect, 2, 4, U_LE},
3206 \param Rect U_PMF_RECTF structure
3210 U_PSEUDO_OBJ *U_PMF_RECTF_set(U_PMF_RECTF *Rect){
3212 {Rect, 4, 4, U_LE},
3789 \param Rect U_PSEUDO_OBJ containing an U_PMF_RECTF object or an array of U_PMF_RECTF objects (the first is used)
3794 U_PSEUDO_OBJ *U_PMR_SETCLIPRECT_set(uint32_t CMenum, const U_PSEUDO_OBJ *Rect){
3798 if(Rect){
3799 if( Rect->Type == U_PMF_RECTF_OID){
3800 start = Rect->Data;
3802 else if(Rect->Type == (U_PMF_RECTF_OID | U_PMF_ARRAY_OID)){
3803 start = Rect->Data + 4;
3970 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECT or U_PMF_RECTF object
3975 U_PSEUDO_OBJ *U_PMR_DRAWARC_set(uint32_t PenID, U_FLOAT Start, U_FLOAT Sweep, const U_PSEUDO_OBJ *Rect){
3978 if(!Rect){ return(NULL); }
3980 if( Rect->Type == U_PMF_RECT_OID ){ ctype = 1; }
3981 else if(Rect->Type == U_PMF_RECTF_OID){ ctype = 0; }
3984 int Size = 2*4 + Rect->Used;
3991 {Rect->Data, Rect->Used, 1, U_XE},
4183 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECT or U_PMF_RECTF object
4188 U_PSEUDO_OBJ *U_PMR_DRAWELLIPSE_set(uint32_t PenID, const U_PSEUDO_OBJ *Rect){
4191 if(!Rect){ return(NULL); }
4193 if( Rect->Type == U_PMF_RECT_OID ){ ctype = 1; }
4194 else if(Rect->Type == U_PMF_RECTF_OID){ ctype = 0; }
4197 int Size = Rect->Used;
4202 {Rect->Data, Rect->Used, 1, U_XE},
4359 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECT or U_PMF_RECTF object
4365 U_FLOAT Start, U_FLOAT Sweep, const U_PSEUDO_OBJ *Rect){
4368 if(!Rect){ return(NULL); }
4370 if( Rect->Type == U_PMF_RECT_OID ){ ctype = 1; }
4371 else if(Rect->Type == U_PMF_RECTF_OID){ ctype = 0; }
4374 int Size = 2*4 + Rect->Used;
4381 {Rect->Data, Rect->Used, 1, U_XE},
4415 {(just1 ? (char *)&Elements : NULL), (just1 ? 4: 0), 1, U_LE}, /* element count if a single Rect was passed in, empty otherwise */
4431 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECTF object, string's bounding box
4438 uint32_t FormatID, uint32_t Length, const U_PSEUDO_OBJ *Rect, const uint16_t *Text){
4443 if(!Rect || Rect->Type != U_PMF_RECTF_OID){ return(NULL); }
4451 int Size = BrushID->Used + 2*4 + Rect->Used +2*Length;
4461 {Rect->Data, Rect->Used, 1, U_XE},
4518 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECT or U_PMF_RECTF object
4523 U_PSEUDO_OBJ *U_PMR_FILLELLIPSE_set(const U_PSEUDO_OBJ *BrushID, const U_PSEUDO_OBJ *Rect){
4532 if(Rect){
4533 if( Rect->Type == U_PMF_RECT_OID ){ ctype = 1; }
4534 else if(Rect->Type == U_PMF_RECTF_OID){ ctype = 0; }
4538 int Size = BrushID->Used + Rect->Used;
4544 {Rect->Data, Rect->Used, 1, U_XE},
4591 \param Rect U_PSEUDO_OBJ containing a U_PMF_RECT or U_PMF_RECTF object
4596 U_PSEUDO_OBJ *U_PMR_FILLPIE_set(U_FLOAT Start, U_FLOAT Sweep, const U_PSEUDO_OBJ *BrushID, const U_PSEUDO_OBJ *Rect){
4605 if(!Rect){ return(NULL); }
4607 if( Rect->Type == U_PMF_RECT_OID ){ ctype = 1; }
4608 else if(Rect->Type == U_PMF_RECTF_OID){ ctype = 0; }
4611 int Size = BrushID->Used + 2*4 + Rect->Used;
4619 {Rect->Data, Rect->Used, 1, U_XE},
4699 {(just1 ? (char *)&Elements : NULL), (just1 ? 4: 0), 1, U_LE}, /* element count if a single Rect was passed in, empty otherwise */
7168 \param Rect Rectangle used with CombineMode enumeration from Header.Flags
7174 U_PMF_RECTF *Rect){
7175 if(!contents || !CMenum || !Rect ){ return(0); }
7183 U_PMF_SERIAL_get(&contents, Rect, 4, 4, U_LE);
7326 \param Rect Caller must free. Bounding rectangle. Coordinate type set by ctype.
7333 U_PMF_RECTF *Rect){
7334 if(!contents || !PenID || !ctype || !Start || !Sweep || !Rect){ return(0); }
7349 memcpy(Rect,Rects,sizeof(U_PMF_RECTF));
7514 \param Rect Caller must free. Bounding rectangle. Coordinate type set by ctype.
7520 U_PMF_RECTF *Rect){
7521 if(!contents || !PenID || !ctype || !Rect){ return(0); }
7530 U_PMF_SERIAL_get(&contents, Rect, 4, 4, U_LE);
7679 \param Rect Caller must free. Bounding rectangle. Coordinate type set by ctype.
7686 U_PMF_RECTF *Rect){
7687 if(!contents || !PenID || !ctype || !Start || !Sweep || !Rect){ return(0); }
7702 memcpy(Rect,Rects,sizeof(U_PMF_RECTF));
7752 \param Rect String's bounding box.
7759 uint32_t *BrushID, uint32_t *FormatID, uint32_t *Elements, U_PMF_RECTF *Rect,
7775 U_PMF_SERIAL_get(&contents, Rect, 4, 4, U_LE);
7829 \param Rect Caller must free. Bounding box for elliptical pie segment being drawn. Coordinate type set by ctype.
7836 U_PMF_RECTF *Rect){
7837 if(!contents || !btype || !ctype || !BrushID || !Rect){ return(0); }
7847 U_PMF_SERIAL_get(&contents, Rect, 4, 4, U_LE);
7890 \param Rect Bounding box for elliptical pie segment being filled. Coordinate type set by ctype.
7897 U_PMF_RECTF *Rect){
7898 if(!contents || !btype || !ctype || !BrushID || !Start || !Sweep || !Rect){ return(0); }
7914 memcpy(Rect,Rects,sizeof(U_PMF_RECTF));