49 ERR(
"Not a member of GpDashStyle enumeration\n");
65 ERR(
"Not a member of GpLineJoin enumeration\n");
92 TRACE(
"(%p, %p)\n", pen, clonepen);
97 *clonepen = heap_alloc_zero(
sizeof(
GpPen));
103 (*clonepen)->customend =
NULL;
104 (*clonepen)->brush =
NULL;
105 (*clonepen)->dashes =
NULL;
117 (*clonepen)->dashes = heap_alloc_zero(pen->
numdashes *
sizeof(
REAL));
118 if ((*clonepen)->dashes)
131 TRACE(
"<-- %p\n", *clonepen);
161 gp_pen = heap_alloc_zero(
sizeof(
GpPen));
177 FIXME(
"UnitWorld, UnitPixel only supported units\n");
183 gp_pen->
brush = clone_brush;
187 TRACE(
"<-- %p\n", *pen);
194 TRACE(
"(%p)\n", pen);
209 TRACE(
"(%p, %p)\n", pen, brush);
219 TRACE(
"(%p, %p)\n", pen, argb);
232 TRACE(
"(%p, %p)\n", pen, customCap);
234 if(!pen || !customCap)
247 TRACE(
"(%p, %p)\n", pen, customCap);
249 if(!pen || !customCap)
278 TRACE(
"(%p, %p)\n", pen, dashCap);
314 TRACE(
"(%p, %p)\n", pen, dash);
326 TRACE(
"(%p, %p)\n", pen, endCap);
350 TRACE(
"(%p, %p)\n", pen, lineJoin);
352 if(!pen || !lineJoin)
355 *lineJoin = pen->
join;
374 TRACE(
"(%p, %p)\n", pen, miterLimit);
376 if(!pen || !miterLimit)
386 TRACE(
"(%p, %p)\n", pen, startCap);
388 if(!pen || !startCap)
422 TRACE(
"(%p)\n", pen);
473 TRACE(
"(%p,%0.2f,%0.2f,%u)\n", pen, sx, sy,
order);
504 TRACE(
"(%p, %p)\n", pen, brush);
515 TRACE(
"(%p, %x)\n", pen, argb);
539 FIXME(
"(%p, %p, %i): stub\n", pen, dash,
count);
541 if (!pen || !dash ||
count < 2 ||
count%2 == 1)
552 TRACE(
"(%p, %p)\n", pen, customCap);
571 TRACE(
"(%p, %p)\n", pen, customCap);
627 TRACE(
"(%p, %d)\n", pen, dashCap);
652 TRACE(
"(%p, %d)\n", pen, dash);
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)
GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill *sf, ARGB argb)
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone)
GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB color, GpSolidFill **sf)
GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill *sf, ARGB *argb)
GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap *customCap)
GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap *from, GpCustomLineCap **to)
GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix *matrix, GDIPCONST GpMatrix *matrix2, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix *matrix, REAL offsetX, REAL offsetY, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix *matrix, REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy)
GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix *matrix, REAL angle, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipCreatePen1(ARGB color, REAL width, GpUnit unit, GpPen **pen)
static DWORD gdip_to_gdi_dash(GpDashStyle dash)
GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen *pen, GpLineJoin join)
GpStatus WINGDIPAPI GdipGetPenColor(GpPen *pen, ARGB *argb)
GpStatus WINGDIPAPI GdipGetPenMode(GpPen *pen, GpPenAlignment *mode)
GpStatus WINGDIPAPI GdipScalePenTransform(GpPen *pen, REAL sx, REAL sy, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen *pen, GpBrush *brush)
GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen *pen, GpLineJoin *lineJoin)
GpStatus WINGDIPAPI GdipDeletePen(GpPen *pen)
GpStatus WINGDIPAPI GdipCreatePen2(GpBrush *brush, REAL width, GpUnit unit, GpPen **pen)
GpStatus WINGDIPAPI GdipGetPenWidth(GpPen *pen, REAL *width)
static GpPenType bt_to_pt(GpBrushType bt)
GpStatus WINGDIPAPI GdipMultiplyPenTransform(GpPen *pen, GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen *pen, REAL limit)
GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen *pen, GDIPCONST REAL *dash, INT count)
GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen *pen, INT *count)
GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen *pen, GpLineCap start, GpLineCap end, GpDashCap dash)
GpStatus WINGDIPAPI GdipGetPenCustomEndCap(GpPen *pen, GpCustomLineCap **customCap)
GpStatus WINGDIPAPI GdipResetPenTransform(GpPen *pen)
GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen *pen, GpDashStyle dash)
GpStatus WINGDIPAPI GdipTranslatePenTransform(GpPen *pen, REAL dx, REAL dy, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width)
GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen *pen, REAL *miterLimit)
GpStatus WINGDIPAPI GdipGetPenUnit(GpPen *pen, GpUnit *unit)
GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen *pen, GpDashCap *dashCap)
GpStatus WINGDIPAPI GdipSetPenMode(GpPen *pen, GpPenAlignment mode)
GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen *pen, REAL *dash, INT count)
GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen *pen, GpBrush **brush)
GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen *pen, GpLineCap *startCap)
GpStatus WINGDIPAPI GdipGetPenCustomStartCap(GpPen *pen, GpCustomLineCap **customCap)
GpStatus WINGDIPAPI GdipSetPenColor(GpPen *pen, ARGB argb)
GpStatus WINGDIPAPI GdipClonePen(GpPen *pen, GpPen **clonepen)
static DWORD gdip_to_gdi_join(GpLineJoin join)
GpStatus WINGDIPAPI GdipSetPenTransform(GpPen *pen, GpMatrix *matrix)
GpStatus WINGDIPAPI GdipRotatePenTransform(GpPen *pen, REAL angle, GpMatrixOrder order)
GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen *pen, GpCustomLineCap *customCap)
GpStatus WINGDIPAPI GdipGetPenCompoundCount(GpPen *pen, INT *count)
GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen *pen, GpDashCap dashCap)
GpStatus WINGDIPAPI GdipSetPenCompoundArray(GpPen *pen, GDIPCONST REAL *dash, INT count)
GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *pen, GpMatrix *matrix)
GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen *pen, GpLineCap cap)
GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen *pen, REAL *offset)
GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen *pen, GpLineCap cap)
GpStatus WINGDIPAPI GdipGetPenFillType(GpPen *pen, GpPenType *type)
GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen *pen, GpLineCap *endCap)
GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash)
GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen *pen, GpCustomLineCap *customCap)
GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen *pen, REAL offset)
#define GP_DEFAULT_PENSTYLE
@ BrushTypeLinearGradient
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLint GLint GLsizei width
GLuint GLdouble GLdouble GLint GLint order
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define memcpy(s1, s2, n)
png_const_structrp png_const_inforp int * unit
static int sum(int x_, int y_)
GpCustomLineCap * customend
GpCustomLineCap * customstart