Lines Matching refs:internp
32 php_imagickpixel_object *internp; in PHP_METHOD() local
39 internp = Z_IMAGICKPIXEL_P(getThis()); in PHP_METHOD()
40 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
44 PixelGetHSL(internp->pixel_wand, &hue, &saturation, &luminosity); in PHP_METHOD()
59 php_imagickpixel_object *internp; in PHP_METHOD() local
67 internp = Z_IMAGICKPIXEL_P(getThis()); in PHP_METHOD()
68 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
72 PixelSetHSL(internp->pixel_wand, hue, saturation, luminosity); in PHP_METHOD()
83 php_imagickpixel_object *internp; in PHP_METHOD() local
92 internp = Z_IMAGICKPIXEL_P(getThis()); in PHP_METHOD()
93 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
100 color_value = PixelGetBlackQuantum(internp->pixel_wand); in PHP_METHOD()
104 color_value = PixelGetBlueQuantum(internp->pixel_wand); in PHP_METHOD()
108 color_value = PixelGetCyanQuantum(internp->pixel_wand); in PHP_METHOD()
112 color_value = PixelGetGreenQuantum(internp->pixel_wand); in PHP_METHOD()
116 color_value = PixelGetRedQuantum(internp->pixel_wand); in PHP_METHOD()
120 color_value = PixelGetYellowQuantum(internp->pixel_wand); in PHP_METHOD()
124 color_value = PixelGetMagentaQuantum(internp->pixel_wand); in PHP_METHOD()
129 color_value = PixelGetOpacityQuantum(internp->pixel_wand); in PHP_METHOD()
134 color_value = PixelGetAlphaQuantum(internp->pixel_wand); in PHP_METHOD()
156 php_imagickpixel_object *internp; in PHP_METHOD() local
173 internp = Z_IMAGICKPIXEL_P(getThis()); in PHP_METHOD()
174 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
181 PixelSetBlackQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
185 PixelSetBlueQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
189 PixelSetCyanQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
193 PixelSetGreenQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
197 PixelSetRedQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
201 PixelSetYellowQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
205 PixelSetMagentaQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
210 PixelSetOpacityQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
215 PixelSetAlphaQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
232 php_imagickpixel_object *internp; in PHP_METHOD() local
238 internp = Z_IMAGICKPIXEL_P(getThis()); in PHP_METHOD()
239 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
243 RETVAL_LONG(PixelGetIndex(internp->pixel_wand)); in PHP_METHOD()
252 php_imagickpixel_object *internp; local
267 internp = Z_IMAGICKPIXEL_P(getThis());
268 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
272 PixelSetIndex(internp->pixel_wand, index);
283 php_imagickpixel_object *internp; local
294 internp = Z_IMAGICKPIXEL_P(getThis());
296 if (internp->pixel_wand != NULL) {
297 DestroyPixelWand(internp->pixel_wand);
300 internp->pixel_wand = NewPixelWand();
302 if (!internp->pixel_wand) {
309 if (PixelSetColor(internp->pixel_wand, color_name) == MagickFalse) {
325 php_imagickpixel_object *internp; local
333 internp = Z_IMAGICKPIXEL_P(getThis());
334 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
338 status = PixelSetColor(internp->pixel_wand, color_name);
341 …php_imagick_convert_imagickpixel_exception (internp->pixel_wand, "Unable to set ImagickPixel color…
354 php_imagickpixel_object *internp; local
360 internp = Z_IMAGICKPIXEL_P(getThis());
361 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
365 ClearPixelWand(internp->pixel_wand);
378 php_imagickpixel_object *internp; local
388 internp = Z_IMAGICKPIXEL_P(getThis());
389 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
397 …status = IsPixelWandSimilar(internp->pixel_wand, color_wand, (use_quantum ? (QuantumRange * fuzz) …
439 php_imagickpixel_object *internp; local
448 internp = Z_IMAGICKPIXEL_P(getThis());
449 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
463 color_value = PixelGetBlack(internp->pixel_wand);
467 color_value = PixelGetBlue(internp->pixel_wand);
471 color_value = PixelGetCyan(internp->pixel_wand);
475 color_value = PixelGetGreen(internp->pixel_wand);
479 color_value = PixelGetRed(internp->pixel_wand);
483 color_value = PixelGetYellow(internp->pixel_wand);
487 color_value = PixelGetMagenta(internp->pixel_wand);
492 color_value = PixelGetOpacity(internp->pixel_wand);
497 color_value = PixelGetAlpha(internp->pixel_wand);
502 color_value = PixelGetFuzz(internp->pixel_wand);
521 php_imagickpixel_object *internp; local
530 internp = Z_IMAGICKPIXEL_P(getThis());
531 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
545 PixelSetBlack(internp->pixel_wand, color_value);
549 PixelSetBlue(internp->pixel_wand, color_value);
553 PixelSetCyan(internp->pixel_wand, color_value);
557 PixelSetGreen(internp->pixel_wand, color_value);
561 PixelSetRed(internp->pixel_wand, color_value);
565 PixelSetYellow(internp->pixel_wand, color_value);
569 PixelSetMagenta(internp->pixel_wand, color_value);
574 PixelSetOpacity(internp->pixel_wand, color_value);
579 PixelSetAlpha(internp->pixel_wand, color_value);
584 PixelSetFuzz(internp->pixel_wand, color_value);
607 php_imagickpixel_object *internp; local
616 internp = Z_IMAGICKPIXEL_P(getThis());
617 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
622 red = PixelGetRed(internp->pixel_wand);
623 green = PixelGetGreen(internp->pixel_wand);
624 blue = PixelGetBlue(internp->pixel_wand);
625 alpha = PixelGetAlpha(internp->pixel_wand);
679 php_imagickpixel_object *internp; local
686 internp = Z_IMAGICKPIXEL_P(getThis());
687 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
692 red = PixelGetRedQuantum(internp->pixel_wand);
693 green = PixelGetGreenQuantum(internp->pixel_wand);
694 blue = PixelGetBlueQuantum(internp->pixel_wand) ;
695 alpha = PixelGetAlphaQuantum(internp->pixel_wand);
719 php_imagickpixel_object *internp; local
726 internp = Z_IMAGICKPIXEL_P(getThis());
727 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
731 color_string = PixelGetColorAsString(internp->pixel_wand);
744 php_imagickpixel_object *internp; local
754 internp = Z_IMAGICKPIXEL_P(getThis());
756 pixel_wand = php_imagick_clone_pixelwand (internp->pixel_wand);
775 php_imagickpixel_object *internp; local
781 internp = Z_IMAGICKPIXEL_P(getThis());
782 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
786 RETVAL_LONG(PixelGetColorCount(internp->pixel_wand));
795 php_imagickpixel_object *internp; local
803 internp = Z_IMAGICKPIXEL_P(getThis());
804 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
808 PixelSetColorCount(internp->pixel_wand, color_count);
819 php_imagickpixel_object *internp, *src_pixel; local
826 internp = Z_IMAGICKPIXEL_P(getThis());
827 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
835 PixelSetColorFromWand(internp->pixel_wand, src_pixel->pixel_wand);